- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    if (shouldShowAnotherViewControllerAsRoot) {
        UIStoryboard *storyboard = self.window.rootViewController.storyboard;
        UIViewController *rootViewController = [storyboard instantiateViewControllerWithIdentifier:@"rootNavigationController"];
        self.window.rootViewController = rootViewController;
        [self.window makeKeyAndVisible];
    }

    return YES;
}


ios:Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?


 
                    
            
                

相关文章:

  • 2021-11-18
  • 2021-11-13
  • 2021-11-02
  • 2021-06-24
  • 2022-12-23
  • 2021-06-27
  • 2022-02-24
  • 2021-04-09
猜你喜欢
  • 2022-12-23
  • 2021-04-16
  • 2021-05-18
  • 2021-11-21
  • 2021-09-27
  • 2021-12-22
相关资源
相似解决方案