I disabled storyboard by change the Main Storyboard to nothing. And I have rewrite everything so I don't need a storyboard and it working correctly. But in the console log, Application windows are expected to have a root view controller at the end of application launch occurred. Could I just ignore the message and They will approve my app after submitted? The didFinishLaunchingWithOptions:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.tabBarController = [[AKTabBarController alloc] initWithTabBarHeight:65];
SubscribeViewController *sub = [[SubscribeViewController alloc] initWithNibName:nil bundle:nil];
UINavigationController *navControlelr = [[UINavigationController alloc] initWithRootViewController:sub];
NewHomeViewController *home = [[NewHomeViewController alloc] initWithNibName:nil bundle:nil];
UINavigationController *homeNav = [[UINavigationController alloc] initWithRootViewController:home];
ReceivedPushViewController *receivedPush = [[ReceivedPushViewController alloc] initWithNibName:nil bundle:nil];
MoreViewController *more = [[MoreViewController alloc] initWithNibName:nil bundle:nil];
NSMutableArray *viewControllers = [NSMutableArray arrayWithArray:@[homeNav, navControlelr, receivedPush, more]];
[self.tabBarController setViewControllers:viewControllers];
[self.window setRootViewController:self.tabBarController];
[self.window makeKeyAndVisible];
return YES;
}