I'm beginner in Iphone development. I have an app in which there is a tool bar ,when I click the tool Bar buttonI need to display modally a Tabviewcontroller with 3 tabs and navigation bar. Is it possible to do this? May be it is simple,but开发者_如何学C i'm a beginner. How it can done? Any help would be appreciable.
What is the issue that you are facing? Overall this is what you need to do:
Create a UITabBarController with 3 items. (There are resources everywhere where you can figure how to do this)
Handle what you do with the 3 views/tab items. Your navigation bar logic goes there. You set up the navigation bar for the 3 different views from the 3 tabs.
Present it as a modal view using:
[self presentModalViewController:yourTabBarController animated:YES];
精彩评论