Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

blackwing

macrumors newbie
Original poster
Mar 1, 2009
4
0
Hi,

I have a little bit of a problem in switching views between UITabBarController's view and UIView.

I have a UITabBarController application. There are 3 tabs, i.e. Tab A, Tab B, and Tab C.

In Tab A I have a "Flip" button and when it's clicked it will switch the view in Tab A with an UIView, View V. This switching is done through animation.

Flipping the views from Tab A's view to View V is with no problem (at least in this testing). After flipping the views back from View V to Tab A's view, then click on Tab B I can't see its view at all, same thing with Tab C. I have to click on Tab A, then click Tab B/C to be able to see their views.

As for the view flipping I'm using
Code:
insertSubview: aboveSubview
method.

I'm not sure if I'm doing it right as this is my first attempt in writing an iPhone App.

Perhaps someone can point me in a right direction how to do view switching between UITabBarController's view and UIView?

TA
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.