rootViewController set in Storyboard not showing on App Launch rootViewController set in Storyboard not showing on App Launch xcode xcode

rootViewController set in Storyboard not showing on App Launch


Just comment out all your generated code in app delegate's - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions method except for return YES.

Here's my code and it worked fine.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{    //self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];    // Override point for customization after application launch.    //self.window.backgroundColor = [UIColor whiteColor];    // [self.window makeKeyAndVisible];    return YES;}


I searched and searched, and finally found my answer(@jms - hope this answers yours as well). See here: Xcode 4.2 iOS Empty Application and storyboards.


I had the same problem, just select both of them CMD+X to cut, then CMD+V to paste it will set one as root view :)