How do I add a tab bar controller to a navigation-controller-based application?
I am beginning iPhone application developer, and so I'm not sure how to start the creation of a navigation-cont开发者_如何学运维roller-based application which uses a tab bar controller in part of it. Do you have suggestions for where to start with this?
These links are a good place to start:
- Howto articles for iPhone development, Objective C
- Where can I find beginner iPhone tutorials?
- Best Book or Article to learn iphone development
- Getting started with Objective-C and the iPhone SDK
There's a lot out there, it's a little overwhelming at first. One way to get started is to pick a book and go through all the examples.
The Book "Beginning iPhone Development" is pretty good for GUI-Stuff. You could buy it.
But here's a online tutorial: http://21gingerman.wordpress.com/2009/04/06/tutorial-and-sample-code-for-iphone-app-with-tab-bar-and-nav-bar/
Short answer: You don't!
But you can add a UINavigationController
to a UITabBar
.
精彩评论