I’ve finally nailed down a bug that crashes a UIImagePickerController when recording video. When the iPhone’s VoiceOver accessibility setting is enabled, the recorder crashes without fail when calling presentModalViewController.
I’ve been unsuccessful so far in coming up with a workaround. Has anyone else experienced this and been able to fix it?
As @kamens mentioned in the comments above, a workaround is to include
camera.showsCameraControls = NOin a completion block when presenting the modal view controller, like this:However, with this solution, the camera controls flash momentarily as the camera is presented, then they disappear. Obviously not ideal when the controls really need to be hidden. The other workaround is to set
camera.showsCameraControls = OFF… even less ideal.@quellish, this is the output from the crash:
@kamens, here is the code I’m using to set the
mediaTypesandcaptureMode: