UIImagePicker returns offset cropped image

Originator:oliver.drobnik
Number:rdar://18957593 Date Originated:12 Nov 2015
Status:Duplicate/13402275 Resolved:
Product:iOS Product Version:iOS 8.1 (12B411)
Classification:Serious Bug Reproducible:Always
 
Summary:
When allowing the user to select a square part of an image the returned cropped image is shifted substantially showing a different region than selected by the user.

Steps to Reproduce:
- Present a UIImagePickerController
- allow cropping
- Select a picture from the photo albums which has details which allow you to verify the selected cropping square
- Take a screenshot before you proceed to show the masked area
- inspect the output of UIImagePickerControllerEditedImage

Expected Results:
The area on the edited image should match the selected area from the image picker

Actual Results:
The area on the edited image is lower than the previously selected area

Version:
iOS 8.1 (12B411)

Notes:
I am going to attach two images, one shows the cropping view, the other the resulting edited image. As you can see the bottom right red button was outside the cropping region on the screenshot, but is visible in the resulting edited image.

Configuration:
iPhone 5S

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!