Search code examples
iosxcodexibuitabbaruistoryboard

Storyboard and View Controller


I've created an app with Xcode but I've a problem with a View Controller. In my project file I have a photogallery with the ".xib" extension, I've moved it into the storyboard because I need a tab-based application, but when I run for testing my project I can see only the View Controller, without the tab bar and the other items. Why can't I see my storyboard? I hope you can help me.


Solution

  • Most probably you still have a reference to your "Main Interface" in your App-Settings. Click on the XCode project - Summary - iPhone / iPod Deployment Info.

    Unter "Main Storyboard" you should have a reference to your storyboard. E.g.: MainStoryboard

    Make sure that "Main Interface" remains empty.