Instance Property

delegate

The image picker’s delegate object.

Declaration

@property(nonatomic, weak) id<UINavigationControllerDelegate, UIImagePickerControllerDelegate> delegate;

Discussion

The delegate receives notifications when the user picks an image or movie, or exits the picker interface. The delegate also decides when to dismiss the picker interface, so you must provide a delegate to use a picker. If this property is nil, the picker is dismissed immediately if you try to show it.

For information about the methods you can implement for your delegate object, see UIImagePickerControllerDelegate.

See Also

Responding to Interactions with the Picker

UIImagePickerControllerDelegate

A set of methods that your delegate object must implement to interact with the image picker interface.