UIImagePickerController相机视图在iOS 8上奇怪地旋转(图片) [英] UIImagePickerController camera view rotating strangely on iOS 8 (pictures)
问题描述
我有一个非常简单的应用程序:
- 只允许屏幕上的按钮允许所有方向
- 按钮显示 UIImagePickerController
(拍照)
- 使用Xcode 5和SDK 7构建
I have a very simple application:
- All orientations are permitted with only a button on a screen
- The button show a UIImagePickerController
(to take a photo)
- Build with Xcode 5 and SDK 7
在 iOS 8 上,<$ c的相机$ c> UIImagePickerController 正确显示我是横向还是纵向,但当我旋转设备时,我将相机视图旋转了90度,这是一个例子:
On iOS 8, the camera of the UIImagePickerController
is appearing correctly whether I am in landscape or in portrait, but when I rotate the device, I got the camera view rotated by 90 degrees, here's a an example:
- 我的应用程序是纵向的
- 我按下显示
UIImagePickerController <的按钮/ code>
- 我在相机视图中,我进入横向模式,这是我得到的:
视图处于横向状态,但相机旋转90度度
其他人是否已经遇到过此问题?
Did someone else already got this issue?
PS:如果我拿了一个照片(再次在景观中e),照片正确拍摄并现在正确显示:
PS: And if I take a photo (again in landscape), the photo is correctly taken and now correctly displayed :
编辑
在运行iOS 8.1的iPad上似乎修复了错误,但iOS 8.1发行说明中没有任何与此错误相关的内容: https://developer.apple.com/library/content/releasenotes/General/RN-iOSSDK-8.1/
The bug seems to be fixed on my iPad running iOS 8.1 but nothing appears related to that bug in iOS 8.1 Release Notes: https://developer.apple.com/library/content/releasenotes/General/RN-iOSSDK-8.1/
感谢所有提供早期版本的iOS 8的建议修补程序!
Thanks all for the proposed fixes for earlier versions of iOS 8!
推荐答案
我相信这是一个iOS 8的bug。例如,如果您打开联系人应用程序并单击编辑/添加照片/拍照,则在标准iOS应用程序上会出现同样的问题!像我一样将问题发布到Apple支持。
I believe it is an iOS 8 bug. For example if you open your contacts app and click edit/add photo/take photo, the same issue occurs on a standard iOS app! Post the issue to Apple support just as I have.
这篇关于UIImagePickerController相机视图在iOS 8上奇怪地旋转(图片)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!