I am working on an Iphone application.
I am using a StoryBoard.
I have a Tab View with 3 tabs. “Home”, “Users” and “Settings”.
I create the “Home” and “Users” view on the story board, but The settings view is a XIB file (SettingsView.xib)
How can I make the third tab (“Settings”) open the SettingsView.xib? Can I use both the story board and xib files?
I tried to initialize a UINavigationController in the startApp method in the AppDelegate but I can’t find out how to add it to the story board.
Thanks for any help
You can add a xib-based view to your storyboard-based tab bar controller as follows. I am assuming the following:
SettingsControllerSettingsTabImageDefine the tab bar controller in the storyboard with just your storyboard-based tab bar items in it – Home and Users in your case
In your application delegate, use the following code in
application:didFinishLaunchingWithOptions::