2016-04-26 42 views

回答

2

當你這樣做:

self.imagePickerController = [[UIImagePickerController alloc] init]; 
    [self.imagePickerController setSourceType:UIImagePickerControllerSourceTypeCamera]; 
    [self.imagePickerController setCameraCaptureMode:UIImagePickerControllerCameraCaptureModePhoto]; 
........ 

明確提到

[imagePickerController setCameraFlashMode:UIImagePickerControllerCameraFlashModeOn]; 

如果你不那麼相機默認爲UIImagePickerControllerCameraFlashModeAuto 既然你已經實現了不處理這種情況下,邏輯,它仍然在UIImagePickerControllerCameraFlashModeAuto

相關問題