0
我正在訪問我的應用程序的默認相機。有時它顯示黑屏。什麼是這個問題的解決方案?相機有時會顯示黑屏
if ([UIImagePickerController isSourceTypeAvailable:
UIImagePickerControllerSourceTypeCamera])
{
imgPicker = [[UIImagePickerController alloc] init];
imgPicker.delegate = self;
imgPicker.sourceType = UIImagePickerControllerSourceTypeCamera;
// imagePicker.mediaTypes = [NSArray arrayWithObjects:(NSString *) kUTTypeImage, nil];
imgPicker.allowsEditing = NO;
imgPicker.showsCameraControls = NO;
cameraView.backgroundColor = [UIColor clearColor];
imgPicker.cameraOverlayView = cameraView;
[self presentModalViewController:imgPicker animated:YES];
}
它正在fine.after拍照是displying重拍,預覽和使用button.I需要改變使用按鈕作爲保存按鈕。有可能嗎? – user2003416
因此,用戶拍攝一張照片,然後通過重拍,預覽和保存按鈕進入新視圖 – iProgrammed
我需要重拍,預覽和保存按鈕。 – user2003416