34,333
edits
Changes
→Associating Content Views with Tabs
== Associating Content Views with Tabs ==
<google>IOSBOX</google>
Having created an instance of the Tab Bar Controller, the content views and corresponding view controllers it is time to associate each tab in the tab bar with a content view. Select the MainWindow.xib file and in the list of Objects select the View Controller – Item 1 entry. In the right hand panel, display the Identity Inspector (''View -> Utilities -> Identity Inspector'') and change the Class setting from UIViewController to ''ScreenOneViewController''. Select ''View Controller – Item 2'' and change the class to ''ScreenTwoViewController''.