我使用以下代码拍照
self.imagePickerController = [[UIImagePickerController alloc] init];
self.imagePickerController.delegate = self;
self.imagePickerController.sourceType = sourceType;
self.imagePickerController.allowsEditing = YES;
self.imagePickerController.showsCameraControls = YES;
self.imagePickerController.wantsFullScreenLayout = YES;
[self presentViewController:self.imagePickerController animated:NO completion:nil];
拍摄后,它会跳转到两个按钮预览:retake
和use
- (void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
在单击按钮use
之前无法调用上述类方法,因此在进入预览视图时是否可以使用任何类方法?感谢