Three20 iOS 6 Rotation
Today, I was working on updating one of my apps for the iPhone 5 and after dealing with iOS 6. I realized my view controllers weren’t rotating. All that was required was simply adding this line after the TTNavigator had been setup.
[[[UIApplication sharedApplication] keyWindow] setRootViewController:[[TTNavigator navigator] rootViewController]];
This is due to the changes in the ViewController rotation API in iOS 6. A rootviewcontroller must be set for the main window of the application.
Recent Comments