UIImagePickerController + allowsEditing bug in iOS 6, 7, 8, 9 and 10
Originator: | oliver.foggin | ||
Number: | rdar://28260087 | Date Originated: | 09/12/16 |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | |
Classification: | UI/Usability | Reproducible: | Always |
Summary: When the UIImagePickerController is presented using the source UIImagePickerControllerSourceTypeCamera and allowsEditing = true (YES) the crop square is presented but when the user pans the image it will "snap" back to the centre when they let go of the image. This changes slightly when zooming into the image but it still snaps to within a boundary that is a lot smaller than the image. Steps to Reproduce: 1. Create a UIImagePickerController, set its sourceType to UIImagePickerControllerSourceTypeCamera and its allowsEditing to YES. 2. Present it and take a photo in portrait orientation. 3. In the next view ("Move and Scale"), try to move the image. Expected Results: The image can be moved to choose what part to fit inside the square area. Actual Results: The image can't be moved, and bounces back. Version: iOS 6, iOS 7, iOS 8, iOS 9, iOS 10 Notes: UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.sourceType = UIImagePickerControllerSourceTypeCamera; picker.allowsEditing = YES; [viewController presentViewController:picker animated:YES completion:nil]; This is the same bug as was reported here... http://openradar.appspot.com/12318774 And on StackOverflow here... http://stackoverflow.com/questions/12630155/uiimagepicker-allowsediting-stuck-in-center As far as I can tell it was introduced in iOS 6 and never fixed. Configuration: iPhone 5, 6, 6S, 6+, 6S+ Attachments: 'PhotoPickerUsingUIImagePickerControllertoSelectPicturesandTakePhotos.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!
Closed as a duplicate of 12318774
This has been closed as a duplicate which basically means no one will hear about it for the next four years.
Apple Developer Relations14-Nov-2016 08:36 AM
Engineering has determined that your bug report is a duplicate of another issue and will be closed.
The open or closed status of the original bug report your issue was duplicated to appears in the yellow "Duplicate of 12318774" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.
If you have any questions or concerns, please update your report directly here: http://bugreport.apple.com/.