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

jboase21

macrumors newbie
Original poster
Mar 26, 2012
3
0
Hey everyone, I'm trying to open a new view. When I do this I do "new file" and it opens a new view, however I can't seem to make this new view a tab controller view, it is only a blank white view. I just want my next view to be a tab controller view! I tried to delete the original view and drag the tab controller but it doesn't seem to link with the original code! If someone could help me that would be great!
 
So basically you want to open a new UITabbarController on a click of a button? So you want to PUSH on your NAVIGATIONCONTROLLER, a NEW controller?
I hope that made any sence to you, and i showed you what to do nearly without the real code words.
Or maybe show us what you have tried, so we can try helping you :)
 
Yes, I believe I understood that haha. I'm pretty knew to all this but I want to push a button on a new view (not my original navigation controller) to open a new UITtabbarcontroller. I didn't think this part would be this difficult (and maybe it isn't) but it sure is confusing me. Thanks for the first reply, hopefully mine makes sense.
 
Apple recommends you only have the tab bar as the root of your app:
UITabBarController Class Reference said:
When deploying a tab bar interface, you must install this view as the root of your window. Unlike other view controllers, a tab bar interface should never be installed as a child of another view controller.
 
Oh really? Guess thats why its so difficult to do then haha, well thanks for the reply.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.