I want to change how the storyboard is loaded in my App. I am having immense difficulty. All my searchings through Google has failed.
I am using an Apple Dev Video for guidance 'WWDC 2012 Adopting Storyboards in your App' - which describes how to add a storyboard (in the hope that I can learn more of what little support is out there).
So far: I have removed the storyboard name from 'Main Storyboard' in the 'summary' section of project settings.
I have updated the App delegate as follows:
Error: Could not instantiate NSLayoutConstraint
Any ideas?
I am using an Apple Dev Video for guidance 'WWDC 2012 Adopting Storyboards in your App' - which describes how to add a storyboard (in the hope that I can learn more of what little support is out there).
So far: I have removed the storyboard name from 'Main Storyboard' in the 'summary' section of project settings.
I have updated the App delegate as follows:
Code:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
UIStoryboard *authStoryboard = [UIStoryboard storyboardWithName:@"Authenticate_iPad" bundle:nil];
UINavigationController *navigationController = [authStoryboard instantiateInitialViewController];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.rootViewController = navigationController;
[self.window makeKeyAndVisible];
return YES;
}
Error: Could not instantiate NSLayoutConstraint
Any ideas?