Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は、iOS5以下でうまく機能するランドスケープモードのみのiPadアプリに取り組んでいます。iOS6で、縦長モードで2画面目(ログイン画面)が突然切り替わる。どのパラメータを確認する必要がありますか?
以下の方法を確認してください。
// ios6 以上が必要
- (BOOL)shouldAutorotate { return NO; // YES or NO as per your requirement } - (BOOL)supportedInterfaceOrientations { return UIInterfaceOrientationLandscapeRight|UIInterfaceOrientationLandscapeLeft; }