How to add a Tab Bar to an existing view controller, without XIB

Posted by Andre on Stack Overflow See other posts from Stack Overflow or by Andre
Published on 2010-03-22T13:40:33Z Indexed on 2010/03/22 20:11 UTC
Read the original article Hit count: 598

Hi,

I'm trying to avoid using Interface Builder as much as possible.

At the moment I have the view controller created via code and change views via code as well.

I now need one of the steps to send the app into a new view with a tab bar, that will allow me to change views as well.

Ideally, what I'd do is tell the current view controller to add a Tab Bar to the bottom, but I'm not sure if that's doable, so I might have to swap the UIViewController with a UITabBarController?

Any help will be appreciated.

Cheers, Andre

© Stack Overflow or respective owner

Related posts about xcode

Related posts about iphone-sdk