UIImagePickerController of sourceType Camera causes 90deg Image Rotation on iPad

Originator:jeff
Number:rdar://18501306 Date Originated:2014-09-30
Status:Closed Resolved:2014-10-11
Product:iOS SDK Product Version:8.0
Classification: Reproducible:Always
 
Update:

This issue has been verified as resolved and can be closed.
I tested it on an iPad mini (A1489) with iOS 8.1 beta 2, and it appears to be behaving correctly.

Attachments: https://jeffvautin.com/wp-content/uploads/openradar/radarUIImagePickerControllerLandscapeCameraiPad.zip

Summary:
When presenting a UIImagePickerController of sourceType Camera on an iPad, in portrait, the image displayed is of correct orientation. If the iPad is then rotated to Landscape, the image displayed rotates to be 90deg out from what should be shown.

Behavior is proper on iPhone.

I am aware documentation states that UIImagePickerController only supports Portrait orientation, but since it is not to be subclassed, there is no obvious way to limit the orientation to Portrait only without limiting orientations for the entire application!

Steps to Reproduce:
1. Create UIImagePickerController.
2. Set sourceType to Camera.
3. Launch from Portrait rotation.
4. Rotate to Landscape.

Expected Results:
Image displayed is correctly aligned with image captured by camera.

Actual Results:
Image is rotated 90 degs. See radarUIImagePickerControllerLandscapeCameraiPad_demo.MOV.

Version:
iOS 8.0.2 12A405

Notes:


Configuration:
iPad mini with Retina, 32GB

Attachments:
'radarUIImagePickerControllerLandscapeCameraiPad.zip' and 'radarUIImagePickerControllerLandscapeCameraiPad_demo.MOV' were successfully uploaded.

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!