Objective c 在LandscapRight模式类型应用程序中打开ImagePicker(照片)
我正在尝试开发一个应用程序。我的应用程序应该只支持LandscapRight模式,因此,我在application Target->Deployment Info中只选中了一个复选框LandscapRight来设置它。现在,当我试图在我的应用程序中打开ImagePickerPhotos时,它会因为这个错误而崩溃Objective c 在LandscapRight模式类型应用程序中打开ImagePicker(照片),objective-c,iphone,ios7,ios6,Objective C,Iphone,Ios7,Ios6,我正在尝试开发一个应用程序。我的应用程序应该只支持LandscapRight模式,因此,我在application Target->Deployment Info中只选中了一个复选框LandscapRight来设置它。现在,当我试图在我的应用程序中打开ImagePickerPhotos时,它会因为这个错误而崩溃 Supported orientations has no common orientation with the application, and shouldAutorotate i
Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES
它在纵向和横向模式下工作良好。但我不想在纵向模式下观看我的应用程序
请给我建议解决这个问题的办法。
谢谢终于在这里找到了解决方案,对我来说真的很有效。谢谢@Raon