I am trying to call in a UIImagePickerView and sometimes when my camera view (with custom overlay) shows up it gives black preview initially. And after 15-30 seconds the black screens disappears. If the image is clicked with black camera screen, it still shows up in my UIImageView. I followed up with the following similar posts:
iOS 7 UIImagePickerController has black preview
and
iOS 7 UIImagePicker preview black screen
I tried doing both. I have managed all the UI jobs on specific background thread and the getter method fix in the second link. But it was not fixed completely either way.
Here is another similar question explaining the problem I am facing, iDevice camera shows black instead of preview
I am still confused why is this bug actually occurring? how can it be reproduced? (as it appears sometimes only) and What's the right fix for this?