开发者

Is there a delegate method that gets called when the user pressed "Retake" on the iPhone?

开发者 https://www.devze.com 2022-12-13 19:30 出处:网络
I have a UIImagePickerController subclass, and I would like to detect when the user presses the \"retake\" button.

I have a UIImagePickerController subclass, and I would like to detect when the user presses the "retake" button.

Is that possible... what delegate method gets called? I looked at the docs but I can't find anything: http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIImagePickerControllerDelegate_Protocol/UIImagePickerControllerDelegate/UIImagePickerControllerDelegate.html

EDIT: I am accepting the answer, though this requires you开发者_运维百科 build to OS 3.1


You could remove the default controls with:

picker.showsCameraControls = NO;

and implement a cameraOverlayView with your own retake button, that calls the takePicture function on the UIImagePickerController again.

0

精彩评论

暂无评论...
验证码 换一张
取 消