I have a UIImagePickerController being called with sourceType camera and 80% of the time I get a black preview. If I wait, let\'s say around 30 seconds, I get a good preview
first of all check whether your app has the permission to access the camera or not.I think you pressed "no" option for the first time the camera launches in the app.Now do one thing. go to Settings->Privacy->Camera then choose your app there check whether its on of off if its off make it on..now you can access the camera in the app.