UIImagePickerController cropping area wrong

Originator:iPhone5001
Number:rdar://37532436 Date Originated:February 14 2018
Status:Open Resolved:No
Product:iOS Product Version:11
Classification:Bug Reproducible:Always
 
Area:
UIKit

Summary:
A UIImagePickerController with allowsEditing set to true presented by a UIViewController does not have a suitable cropping rect. Sample app is attached.

Steps to Reproduce:
Run sample app, tap on camera button, shoot a photo, try to crop the image so that the bottom or top is visible.

Expected Results:
Image can be cropped in any area of the image

Actual Results:
Image can not be cropped in any area of the image

Version/Build:
Version 9.2 (9C40b) 

Configuration:
iOS 10 and 11, tested on multiple devices (iPhone SE, 6s, X)

Comments

Duplicated here for iOS 12 SDK: https://openradar.appspot.com/40981822


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!