デバイスの向きが機能しない理由がわかりません。
プロジェクトのプロパティで:
私のコードには次のものがあります。
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return ((interfaceOrientation == UIInterfaceOrientationPortrait) ||
(interfaceOrientation == UIInterfaceOrientationLandscapeLeft) ||
(interfaceOrientation ==UIInterfaceOrientationLandscapeRight));
}
私は自分のiPhoneでそれをプローブし、変化しません。
何か不足していますか?
前もって感謝します
編集済み (info.plist)