UIImagePickerController: overlay jumps under iris layer when animation starts

Originator:ajpike
Number:rdar://9430858 Date Originated:12-May-2011 04:42 PM
Status:Open Resolved:
Product:iPhone SDK Product Version:4.3.3
Classification:UI/Usability Reproducible:Always
 
Summary: If you give a UIImagePickerController a cameraOverlayView, it does not interact properly with the shutter/iris animation. It displays on top of the iris initially, then once the iris opening animation starts, it jumps under the animation. It should either always be under the iris, or always be over it.

Steps to Reproduce:
1. Load the PhotoPicker sample project (http://developer.apple.com/library/ios/#samplecode/PhotoPicker/Introduction/Intro.html).
2. Press the Photo button and observe the animation.

OR

1. Set any UIView (a colored square will work) to the cameraOverlayView property of an UIImagePickerController.
2. Present the UIImagePickerController and observe the animation.

Expected Results: The cameraOverlayView should have a consistent Z ordering with respect to the iris, presenting a consistent animation.

Actual Results: The overlay displays on top of the iris initially, then jumps behind it when the animation starts. The effect is jarring.

Regression: Bug occurs on iOS 4.3.3.

Notes: The default camera controls display hybrid but consistent behaviour (some controls always on top of the iris, some controls always below the iris). Although always displaying the cameraOverlayView below the iris would be my preference, always displaying it on top would also be a big improvement.

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!