I am not able to Hide the iphone Camera shutter opening animation for my app. I am using UIImagePickerController to access iphone camera and using my own overlay controllers
Using this answer as a starting point, I've finally solved this problem:
NOTE: This is obviously not 3.3.1-compliant.
Listen for the UINavigationControllerDidShowViewControllerNotification
on your UIImagePickerController
, and the PLCameraViewIrisAnimationDidEndNotification
globally.
Traverse the view hierarchy (starting at the main UIWindow
) looking for the PLCameraView
. Save the index of the view against the main UIWindow
, as you'll need it later.
Remove the PLCameraView
from its superView
. If desired, insert your own view at global index 0.
When the iris animation is finished, remove your view and re-add the PLCameraView
at its original index.