UIImagePickerController cameraViewTransform doesn't translate on iOS 10 Beta

Originator:nramamurth
Number:rdar://28232651 Date Originated:09/09/2016
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 10 (14A5346a)
Classification:Defect Reproducible:Yes
 
I installed iOS 10 Beta (14A5346a) on an iPhone 6s Plus and the method CGAffineTransformMakeTranslation just does not seem to work as expected when I use UIImagePickerController's live view to adjust itself with respect to the entire main screen. When the same code was built on an iPhone 6s Plus with iOS 9.3.2, the method works and the black bar at the bottom has an expected height as shown in the screenshot.

Sample code: 

objImagePickerController.cameraViewTransform = CGAffineTransformMakeTranslation(0, 64);   

Note: objImagePickerController is an instance of UIImagePickerController.

Steps to Reproduce:
Use UIImagePickerController's live view to fill the entire screen (because aspect ratio of camera preview and main screen are different). 

Expected Results:
I expect to see a change in how the live view tries to adjust itself with respect to the main screen (as shown in the screenshot.)

Actual Results:
No change is observed regardless what translation parameters are passed to the CGAffineTransformMakeTranslation method, the image remains the same (as shown in the screenshot).

Version:
iOS 10.0 (14A5346a) and iOS 9.3.2 (13F69)

Configuration:
iPhone 6s Plus

Comments

Duplicate of 28075414

By nramamurth at Sept. 22, 2016, 8:11 p.m. (reply...)

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!