0

私は、iOS5以下でうまく機能するランドスケープモードのみのiPadアプリに取り組んでいます。iOS6で、縦長モードで2画面目(ログイン画面)が突然切り替わる。どのパラメータを確認する必要がありますか?

4

1 に答える 1

0

以下の方法を確認してください。

// ios6 以上が必要

- (BOOL)shouldAutorotate
{

return NO; // YES or NO as per your requirement
}

- (BOOL)supportedInterfaceOrientations
{
return UIInterfaceOrientationLandscapeRight|UIInterfaceOrientationLandscapeLeft;
}
于 2013-05-17T19:24:26.920 に答える