내부의 매력처럼 작동하고 빈 UIWindow
회전에 Three20TTPhotoViewController 추가. 는 회전 Three20 TTPhotoViewController는 TabBarController
UITabBarController
내부
TTPhotoViewController이
UINavigationController
에서 생성 될 움직일 때 전혀 회전하지 않습니다.
모든 shouldAutorotateToInterfaceOrientation
기능에 대해 예을 반환했는지 확인했습니다.
ThreeTh 사진 갤러리는 회전이있는 UITabBarController에서 작동합니까?
어떻게하면됩니까? 업데이트 1
[[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"]];
: 일부 게시물을 읽은 후 지금은 단지
TTScrollView
내부의 이미지를 회전 할 수 있지만, 탐색 바는 회전되지 않습니다.
업데이트 2 : 내가 서브 클래스-ED가 모두 UITabBarController
및 UINavigationController
이 shouldAutorotateToInterfaceOrientation
를 오버라이드 (override) 할 수 있지만, 도움이되지 않았다.
아주 좋은 생각인데 navBar를 숨기지 않고이 솔루션에 도달했습니다. NavBar를 숨기지 않으면 이상하게 보였지만 내 솔루션은 대단히 완벽했으며 Three20 라이브러리를 전혀 건드리지 않았습니다. –