iPhone の画面の向きに関する問題が発生しています。アプリケーションのベース SDK は ios 6.0 で、展開ターゲットは 4.3 で、ios 5.0 および 5.1 で実行されています
アプリケーションの plist ファイルでPortrait (bottom home button)、Landscape (left home button)とを設定しLandscape (right home button)ました。私はユニバーサルアプリを開発しています。したがって、すべてのビューの- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientationメソッドで、条件付きportraitで iphone とlandscapeipad の両方を返します。
私のナビゲーションフローは次のとおりです。
最初のタブをUINavigatinController押すと、 に 2 つのビューが 1 つずつ表示されます。UITableViewControlerUINavigationControllerrootViewController
私の最後のviewControllerの- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientationメソッドでは、私が返しYESました。しかし、このビューはまったく回転していません。メソッドを呼び出すことすらありません- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration。:(
私の要件は、横向きと縦向きの両方を、アプリ全体ではなく、1 つの viewController のみにサポートすることです。
私を助けてください。