UITabBarController With UINavigationController "more" Tab Issue

Posted by Medlay on Stack Overflow See other posts from Stack Overflow or by Medlay
Published on 2009-10-20T18:53:22Z Indexed on 2010/05/22 17:00 UTC
Read the original article Hit count: 419

UITabBarController with UINavigationController "more" tab issue

There is a problem with using UINavigationController in UITabBarController. I have a TabBar  with 6 items. Of course, a standart item "more" appears, and there are two UINavigationControllers that didn't fit in a TabBar. The core of the problem is: when I'm working with visible items (a first four), UIViewController can be pushed  in an UINavigationController:

[self.navigationController pushViewController:userDataViewController animated:YES];

If you call on in "more" and rearrange items in such way, that a visible UINavigationController gets into "more", when calling on it userDataViewController appears.  This  userDataViewController is the last, which has got in a stack and a Back button leads back to "more", but not to the controllers, that were before a userDataViewController appeared.

I understand that in fact a selector pushViewController is called from "more", and it pushes my UINavigationController in a stack, and it's not good. Maybe, someone has faced such problem and could help me to solve it?

Thank you forward.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uinavigationcontroller