I know there are someone have ask this question.But it is a sorry i donot find the answer.
dispatchQueue = dispatch_queue_create(\"myQueue\", NULL); [capture
It is also possible that the user’s camera is broken. You still need to do:
if ([UIImagePickerController isCameraDeviceAvailable:UIImagePickerControllerCameraDeviceRear]){ //... }