Instance Method

beginPictureTakerWithDelegate:didEndSelector:contextInfo:

Opens a picture taker pane.

Declaration

- (void)beginPictureTakerWithDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo;

Parameters

delegate

The object that will invoke the selector didEndSelector when the picture taker session terminates.

didEndSelector

The selector to invoke when the picture taker session terminates.

contextInfo

Any data that must be passed as an argument to the delegate through didEndSelector after the picture taker session terminates.

Discussion

The didEndSelector method should have the following signature:

- (void)pictureTakerDidEnd:(IKPictureTaker *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;

The returnCode value is set to NSOKButton if the user validates, or to NSCancelButton if the user cancels.

See Also

Creating And Displaying The Picture Taker

+ pictureTaker

Returns a shared IKPictureTaker instance, creating it if necessary.

- beginPictureTakerSheetForWindow:withDelegate:didEndSelector:contextInfo:

Opens a picture taker as a sheet whose parent is the specified window.

- popUpRecentsMenuForView:withDelegate:didEndSelector:contextInfo:

Displays the Open Recent popup menu associated with the picture taker.

- runModal

Opens a modal picture taker dialog.