Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 在LandscapRight模式类型应用程序中打开ImagePicker(照片)_Objective C_Iphone_Ios7_Ios6 - Fatal编程技术网

Objective c 在LandscapRight模式类型应用程序中打开ImagePicker(照片)

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

我正在尝试开发一个应用程序。我的应用程序应该只支持LandscapRight模式,因此,我在application Target->Deployment Info中只选中了一个复选框LandscapRight来设置它。现在,当我试图在我的应用程序中打开ImagePickerPhotos时,它会因为这个错误而崩溃

Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES 
它在纵向和横向模式下工作良好。但我不想在纵向模式下观看我的应用程序

请给我建议解决这个问题的办法。
谢谢

终于在这里找到了解决方案,对我来说真的很有效。谢谢@Raon