UIImagePickerController の UIButtons のデフォルト アクションを変更することは可能ですか。すなわち(キャンセル、使用、再取得など)?
たとえば、写真を撮って [使用] をタップすると、フォト アルバムのビュー コントローラーに移動します。代わりに UIImagePickerController をリロードするように設定できますか?
UIImagePickerController の UIButtons のデフォルト アクションを変更することは可能ですか。すなわち(キャンセル、使用、再取得など)?
たとえば、写真を撮って [使用] をタップすると、フォト アルバムのビュー コントローラーに移動します。代わりに UIImagePickerController をリロードするように設定できますか?
UIView *newOverlay = [[UIView alloc] init];
UIButton *newButton = [UIButton buttonWithType:UIButtonTypeCustom];
newButton.frame = CGRectMake(20,40,70,40);
[myButton addTarget:self
action:@selector(yourAction:)
forControlEvents:UIControlEventTouchUpInside];
[newOverlay addSubview:newButton];
picker.cameraOverlayView = newOverlay;
newOverlay にボタンを追加し続けて、アクションを設定するだけです!