我的iphone应用程序使用camara拍照 在ipad上安装应用程序,访问camara会使应用程序崩溃 有人知道在iphone和ipad之间使用选择器控制器是否存在差异?
提前Tx
--- --- EDIT
我打电话给我使用的卡马拉的代码是:- (void) showCamera{
UIImagePickerController * imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.delegate = self;
imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera;
imagePickerController.allowsEditing =YES;
[self presentViewController:imagePickerController animated:YES completion:nil];
}