objective-cios6three20autorotatettnavigator

Three20 autorotate in iOS6


I try to get autorotate work in iOS6. I've already read about it and the problem is, that I can't set a rootviewcontroller for the window. I've tried it with:
self.window.rootViewController = [[TTNavigator navigator] rootViewController];
but the App crashes with unrecognized selector...
In iOS5 the autorotation worked fine with the shouldAutorotateToInterfaceOrientation method.


Solution

  • This tutorial worked for me: http://www.goodnewtiger.com/llf/cegeek/?p=61
    I had to change the TTNavigationController and set the viewcontroller in the app delegate.