Code to use tab bar controller in iphone
i m new to iphone programming. 开发者_JS百科can anybody tell me Code to use tab bar controller in iphone. Thanks in advance.
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/
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.
精彩评论