4
當我使用UIImagePickerController拍攝照片時,拍攝照片後,它總是將我帶到預覽屏幕,其中顯示「重拍」或「使用」。有什麼辦法可以避免進入這個屏幕?即使我使用自定義覆蓋屏幕,並且將picker.allowsEditing設置爲FALSE,它仍然會將我帶到此屏幕。我見過其他的應用程序,避免進入預覽屏幕,所以我該怎麼做?UIImagePickerController - 避免「預覽」屏幕
這是我使用的代碼:
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];
它刪除相機捕獲按鈕也 – Ronak 2012-10-28 06:42:31