私のアプリは風景のみを使用しています。.plist のサポートされているインターフェイスの向きで修正しました。
ただし、UIImagePickerController を使用する必要があり、ポートレート モードしかサポートしていません。特定のビューコントローラーでアプリの回転を縦向きにするにはどうすればよいですか?
どんなヒントもとても役に立ちます!タイ!
私のアプリは風景のみを使用しています。.plist のサポートされているインターフェイスの向きで修正しました。
ただし、UIImagePickerController を使用する必要があり、ポートレート モードしかサポートしていません。特定のビューコントローラーでアプリの回転を縦向きにするにはどうすればよいですか?
どんなヒントもとても役に立ちます!タイ!
ColinE、以下のように設定すればいいということですか?
他のすべてのviewController
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight || UIInterfaceOrientationLandscapeLeft);
}
ポータルページを設定します
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}