switching views on a TabBar App
I am having a hell of a time try开发者_JS百科ing to do what should be something simple.
I have created a Tab Bar Application. How do I change the view SomeView.xib ?
All the examples I see are from View To View, Tab to Nav.
Any suggestions ?
If the view you are trying to switch to has an accompanying view controller class then in the TabBarController.xib file click on the tab bar tab you want and go to the identity tab in the inspector and set the Class to the view controller that you want to display on that tab.
Hope this helps!
Thanx Mark
It helped. I dug into the NavigationController, found the specific NavController in there, set the class to the ViewController like you said. voilà!
Sorry about the late reply
ConfusedLemon
精彩评论