Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

iOS 4 bug #5

Closed
fireblue opened this Issue May 14, 2012 · 2 comments

Comments

Projects
None yet
3 participants

When in iOS 4, NGTabBarController will disappear with these steps:

  1. set up a NGTabBarController with serveral view controllers.
  2. presentModalViewController in any of the view controllers.
  3. dissmissModalViewController

then the tab bar just disappears. tested with the demo given with the source.

thanks :)

ElonKim commented May 15, 2012

I have the same issue.

and

NGTabBarController uses [UIImage capInsets] without checking iOS5.

myell0w commented May 18, 2012

I've added a readonly property ng_tabBarController on UIViewController (UIViewController+NGTabBarItem.h) to get the enclosing NGTabBarController similar to what UIViewController provides for UITabBarController. If you use the tabBarController to present the modal view controller, everything works as expected, have a look at the modified demo. I also now check if capInsets is available.

@myell0w myell0w closed this May 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment