这有什么问题?我真的不了解UIImagePickerController的一些重要部分。

来源:

     UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
imagePickerController.cameraCaptureMode = UIImagePickerControllerCameraCaptureModePhoto;
imagePickerController.delegate = self;
[self presentModalViewController:imagePickerController animated:YES];
[imagePickerController release];


我不能打开照片库吗?
任何帮助表示赞赏!

最佳答案

如果您使用的是图片库,是否需要设置cameraCaptureMode

10-01 18:51