添加Three20TTPhotoViewController在一个空的UIWindow
旋转工作像一个魅力。旋转Three20 TTPhotoViewController里面TabBarController
但是当我移动TTPhotoViewController从UINavigationController
创建一个UITabBarController
里面根本不会转动。
我确信我回到YES为每shouldAutorotateToInterfaceOrientation
功能。
与旋转侧的UITabBarController不Three20照相馆工作?
我该怎么做?
[[TTURLRequestQueue mainQueue] setMaxContentLength:0];
TTNavigator *navigator = [TTNavigator navigator];
navigator.persistenceMode = TTNavigatorPersistenceModeAll;
navigator.window = [UIApplication sharedApplication].keyWindow;
TTURLMap *map = navigator.URLMap;
[map from:@"tt://appPhotos" toSharedViewController:[PhotoViewController class]];
[navigator openURLAction:[TTURLAction actionWithURLPath:@"tt://appPhotos"]];
更新1: 阅读一些帖子后,我现在只能内部
TTScrollView
旋转图像,但导航栏不旋转。
更新2: 我有子类-ED都UITabBarController
和UINavigationController
覆盖shouldAutorotateToInterfaceOrientation
,但它并没有帮助。
非常伟大的想法,我达到了这个解决方案,而隐藏导航栏的思考,就像你说的,它看起来奇怪,如果你不隐藏导航栏,但我的解决方案是非常完美的,我还没有触及的Three20库所有。 –