UIImagePickerController presented in popover broken when iPad is in landscape orienation.
| Originator: | simonsm2 | ||
| Number: | rdar://14899461 | Date Originated: | 9/3/13 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 7.0 11A4449d |
| Classification: | Reproducible: |
Summary: Presenting a UIImagePickerController with sourceType = UIImagePickerControllerSourceTypeCamera in a UIPopoverController when the iPad is in landscape orientation will cause the camera controls to be laid out in the wrong places and the image from the camera will be rotated 90 degrees. Steps to Reproduce: 1. Create an app with a button to display a popover from. 2. Present a UIImagePickerController inside of a UIPopoverController with the following options set: imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera; imagePicker.mediaTypes = [NSArray arrayWithObjects: (NSString *) kUTTypeImage, nil]; imagePicker.allowsEditing = NO; OR Build and run the attached demo app on an iPad running iOS 7.0 11A4449d Expected Results: The camera view presented in the popover will rotate correctly within the popovercontroller when the iPad is held both in the landscape and portrait orientations. Actual Results: When held in the landscape orientation the camera view will be rotated 90 degrees and the camera controls on the screen will not be laid out correctly. Version: iOS 7.0 11A4449d Notes: Configuration: Seen on iPad Mini running iOS 7.0 Beta 6 Attachments: 'camera.zip' was 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!