当我使用UIImagePickerController拍照时,拍照后它总是带我进入一个预览屏幕,屏幕上显示“Retake”或“use”。有什么方法可以避免进入这个屏幕吗?即使我使用自定义覆盖屏幕,并且我将picker.allowsEditing设置为FALSE,它仍然会将我带到这个屏幕。我见过其他的应用程序避免进入预览屏幕,那我该怎么做呢?
FrontOverlayView *overlay = [[FrontOverlayView alloc] initWithFrame:CGRectMake(0,0,320,460)];
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
picker.delegate = self;
picker.allowsEditing = NO;
picker.cameraOverlayView = overlay;
[self presentModalViewController:picker animated:YES];
[picker release];
[overlay release];