0
起動画面の直後の表示は、デバイスの向きで提示する必要がありますが、表示されたら他の向きに自動回転しないでください。私はこのコードを使用:iPhoneで自動回転しないですべての向きをサポートする
- (BOOL)shouldAutorotate {
[super shouldAutorotate];
return YES;
}
-(UIInterfaceOrientationMask) supportedInterfaceOrientations {
[super supportedInterfaceOrientations];
return UIInterfaceOrientationMaskAll;
}
これが唯一の肖像画でshouldAutorotate結果の設定NO、iPadのためではなく、iPhoneに適しています。これは正常な動作ですか?もしそうならば、iPhoneでオートローテーションなしでどのようにすべての向きをサポートできますか?特定のView Controllerのみ?