UIImagePickerController returns scaled images when not using iCloud

Originator:jeremy.knope
Number:rdar://36523235 Date Originated:January 15 2018
Status:Open Resolved:
Product:iOS + SDK Product Version:11.2.2/15C202
Classification:UI/Usability Reproducible:Always
 
Area:
UIKit

Summary:
When asking user for an image with UIImagePickerController, it returns a scaled image in the info dictionary for both original image & the image pointed to by the url. It seems to always return an image scaled within 2048x2048.

This person ran into this too and leveraged library APIs to work around it:
https://forums.developer.apple.com/thread/88147

Steps to Reproduce:
1. Add 4000x6000 sized or similar image to Photos on a device or simulator without iCloud Photo Library.
2. Open an app with UIImagePickerController
3. Choose large image
4. Check returned image size in UIImagePickerController's delegate

Expected Results:
Original image is returned at 4000x6000 size in delegate call.

Actual Results:
We get an image sized at 1365x2048 instead.

Version/Build:
iOS 11.2/15C107 (Simulator)
iOS 11.2.2/15C202 (iPad Pro 9.7")

Configuration:
iPad Pro 9.7" with iCloud Photo Library
iPad Pro 9.7" Simulator 11.2 with iCloud Photo Library
iPad Pro 9.7" Simulator 11.2 without iCloud Photo Library

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!