I implemented Facebook auth using the official fb ios sdk guide. I have modified the code to use Storyboards instead of .nibs and it's working correctly with two view controllers, login view controller and the main view controller, however I'm trying to use a TabBarController as the main view controller and it's working properly but there is a warning: "Two-stage rotation animation is deprecated. This application should use the smoother single-stage animation. "
Any idea how to get rid of this warning?
The code for set the rootViewController is the following:
UIStoryboard* sb = [UIStoryboard storyboardWithName:@"Main"
bundle:nil];
self.mainViewController = [sb instantiateViewControllerWithIdentifier:@"UITabBarController"]; // Identifier
self.navController = [[UINavigationController alloc]
initWithRootViewController:self.mainViewController];
self.window.rootViewController = self.navController;
[self.window makeKeyAndVisible];
Thanks.