You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
View Controllers aren't sent viewWill/DidAppear/Disappear during touchDownAtItemAtIndex:.
Tapping an already selected tab bar item does not pop the selected view controller's navigation controller (if any) to the root VC.
Using hidesBottomBarWhenPushed has no effect.
Item 1 is easy enough. Per Apple docs:
Warning: If the view belonging to a view controller is added to a view hierarchy directly, the view controller will not receive (viewWill/DidAppear/Disappear). If you insert or add a view to the view hierarchy, and it has a view controller, you should send the associated view controller this message directly. Failing to send the view controller this message will prevent any associated animation from being displayed.
Alas, I'm running into some interesting dead-ends with Items 2 and 3. (Might just be pilot error.) Rather than hunting these down one by one as they crop up, I wonder if its desirable to subclass UITabBarController itself, but just draw it in the most excellent way you've done here? Pros/cons? (Con: Apple does not advise subclassing it!)
The text was updated successfully, but these errors were encountered:
Item 1 is easy enough. Per Apple docs:
Warning: If the view belonging to a view controller is added to a view hierarchy directly, the view controller will not receive (viewWill/DidAppear/Disappear). If you insert or add a view to the view hierarchy, and it has a view controller, you should send the associated view controller this message directly. Failing to send the view controller this message will prevent any associated animation from being displayed.
Alas, I'm running into some interesting dead-ends with Items 2 and 3. (Might just be pilot error.) Rather than hunting these down one by one as they crop up, I wonder if its desirable to subclass UITabBarController itself, but just draw it in the most excellent way you've done here? Pros/cons? (Con: Apple does not advise subclassing it!)
The text was updated successfully, but these errors were encountered: