Reputation: 11
i m new to iphone programming. can anybody tell me Code to use tab bar controller in iphone. Thanks in advance.
Upvotes: 0
Views: 3560
Reputation: 54445
Have you read Apple's UITabBarController documentation? How about the View Controller Programming Guide for iOS?
These documents will provide you with a very good overview of UIKit in general and the specifics of the UITabBarController, and will provide links to sample projects/code.
Until you've read and understood these, you might want to hold off on your current "stream of consciousness" approach to asking questions on Stack Overflow.
Upvotes: 2
Reputation: 4720
http://icodeblog.com/2008/09/28/uitabbar-iphone-tutorial/
This one explains it better: http://howtomakeiphoneapps.com/2010/07/how-can-i-add-tabs-programmatically-to-uitabbar/
Upvotes: 2