iPhone - Dismiss modal view by a UITabBarController

Posted by ncohen on Stack Overflow See other posts from Stack Overflow or by ncohen
Published on 2010-04-26T22:44:42Z Indexed on 2010/04/27 3:13 UTC
Read the original article Hit count: 561

Filed under:
|
|
|

Hi everyone,

I've got into a very strange problem. I created my own UITabBarController to customize it and it works pretty well... except for the modal views. When I dismiss the modal view (present/dismiss from the UITabBarController) with an animation, it waits until the animation did finished and goes to the first controller of the tab bar!

Why does the controller change? and how can I fix it?

Thanks

PS: My UITabBarController view is on the main window and has a UITabBar on it. The controllers (which are managed by the tab bar) are on the main window over the tab bar controller view with a shorter height. When I present the modal view, I bring the tab bar controller view to front.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about modal-view