I see the easier way to create a UITabBar in iPhone, is through the Controller.
Only create the View yourself, if you want to customize it, otherwise, don't go that way!
Suppose we have a button that we click to open a TabBar with two UITabBarItems, as usual , we push the next controller to the UINavigationConroller ... but this time we will push a UITabBarController..
Here's the code with inline comments:
References:
http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UITabBarController_Class/Reference/Reference.html#//apple_ref/occ/cl/UITabBarController
No comments:
Post a Comment