UIImagePickerController does not rotate correctly when app Info.plist specifies only landscape left and landscape right

Originator:yourstruly
Number:rdar://18426344 Date Originated:September 23, 2014
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8.0
Classification: Reproducible:Always
 
Summary:
Preview image doesn't properly orient itself when previewing a UIImagePickerController in app whose Info.plist specifies that only Landscape Left and Landscape Right are supported.

Steps to Reproduce:
1. Open example app, attached.
2. Build with Xcode 6 GM, and run on iOS 8 GM iPad
3. Tap button to display camera preview.
4. Rotate iPad, and notice that preview isn't correctly matching orientation of device

Expected Results:
Preview should be oriented to match the orientation of the iPad

Actual Results:
Preview isn't correctly matching orientation of device

Version:
iOS 8.0

Example at https://github.com/jterhorst/CameraOrientationTest

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!