![]() It then will call hooked SBStatusBarStateAggregator _setItem:(int)arg1 enabled:(BOOL)arg2 where I will store the index. I call SBStatusBarStateAggregator -(void)_updateLocationItem method. For example, let's say I want to find location icon index. Then I call one of the SBStatusBarStateAggregator -(void)_update**** methods. I hook SBStatusBarStateAggregator _setItem:(int)arg1 enabled:(BOOL)arg2 method. You could test every iOS version and store values for each one of them but I found a better way. Only problem - iOS uses integer values for status bar items and they're different on different iOS versions. Here is what I use in my tweak: int itemToHide = 0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |