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
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
The view is in landscape but the camera is rotated by 90 degrees
Did someone else already got this issue?
PS: And if I take a photo (again in landscape), the photo is correctly taken and now correctly displayed :
EDIT
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/
Thanks all for the proposed fixes for earlier versions of iOS 8!
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.