简体   繁体   English

UIImagePickerController无法在横向模式下按下相机按钮

[英]UIImagePickerController cannot push camera button in landscape mode

I want to get the solution about my problem. 我想获得有关我的问题的解决方案。 My problem is that my app cannot take a picture in landscape mode. 我的问题是我的应用无法在横向模式下拍照。

I use UIImagePickerController in my app. 我在应用程序中使用UIImagePickerController。 and in Portrait mode, it's okey but in landscape mode, cannot push the camera button and cancel button. 在人像模式下还不错,但在风景模式下无法按下相机按钮和取消按钮。

if I rotate portrait mode, then I can push the buttons. 如果旋转人像模式,则可以按按钮。 plz let me know the solution~ thanks~ 请让我知道解决方案〜谢谢〜

iPhone 6 plus ios8.3 -> landscape, portrait both okey iPhone 6 plus ios8.3->风景,肖像都不错

iphone 5 ios8.1.2 -> landscape no, portrait okey iPhone 5 iOS8.1.2->没有风景,肖像好

iphone 5s ios 8.1 -> landscape no, portrait okey iPhone 5S iOS 8.1->风景,肖像好

the code part that call UIImagePickerController 调用UIImagePickerController的代码部分

    UIImagePickerController *imagePickController=[[UIImagePickerController alloc]init];
imagePickController.sourceType=UIImagePickerControllerSourceTypeCamera;
imagePickController.delegate=self;
imagePickController.allowsEditing=TRUE;
[((FFWebViewController*)[UIViewController currentViewController]) presentModalViewController:imagePickController animated:YES];

I solve the problem. 我解决了问题。 It's iOS version issue. 这是iOS版本的问题。

I update 8.1.1 -> 8.3 and 8.1 -> 8.3 then, I can take a picture in landscape mode. 我先更新8.1.1-> 8.3,再更新8.1-> 8.3,然后可以在横向模式下拍照。 is it 8.1 version issue? 是8.1版本的问题吗? I can not sure about it. 我不确定。

anyway... 8.3 version it's okey!!! 无论如何... 8.3版本还不错!!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM