iOS 7.1 imagePicker CameraFlashMode not indicating Flash state
问题 I have iPhone application which overlays the camera with custom view. I have a button to switch between camera flash mode, this is the code switch ([self.imagePickerController cameraFlashMode]) { case UIImagePickerControllerCameraFlashModeAuto: [self.imagePickerController setCameraFlashMode:UIImagePickerControllerCameraFlashModeOn]; return @"On"; break; case UIImagePickerControllerCameraFlashModeOn: [self.imagePickerController setCameraFlashMode:UIImagePickerControllerCameraFlashModeOff];