Share via


IUIImagePickerControllerDelegate Interface

Definition

A class used to receive notifications from the UIImagePickerController.

[Foundation.Protocol(Name="UIImagePickerControllerDelegate", WrapperType=typeof(UIKit.UIImagePickerControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FinishedPickingMedia", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIImagePickerController), typeof(Foundation.NSDictionary) }, Selector="imagePickerController:didFinishPickingMediaWithInfo:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Canceled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIImagePickerController) }, Selector="imagePickerControllerDidCancel:")]
public interface IUIImagePickerControllerDelegate : IDisposable, UIKit.IUINavigationControllerDelegate
[<Foundation.Protocol(Name="UIImagePickerControllerDelegate", WrapperType=typeof(UIKit.UIImagePickerControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FinishedPickingMedia", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIImagePickerController), typeof(Foundation.NSDictionary) }, Selector="imagePickerController:didFinishPickingMediaWithInfo:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Canceled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIImagePickerController) }, Selector="imagePickerControllerDidCancel:")>]
type IUIImagePickerControllerDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IUINavigationControllerDelegate
Derived
Attributes
Implements

Remarks

Application developers can implement this delegate in order to handle actions associated with the UIImagePickerController and the capture or selection of images or video. The application developer is responsible for dismissing the UIImagePickerController after the operation (capture, selection, or cancellation) is complete and should do so using the DismissModalViewController(Boolean) method of the parent UIViewController.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
Canceled(UIImagePickerController)

Indicates that the user cancelled the media-picking operation.

DidShowViewController(UINavigationController, UIViewController, Boolean)

Extension method called shortly after the viewController has been made visible.

(Inherited from IUINavigationControllerDelegate)
FinishedPickingMedia(UIImagePickerController, NSDictionary)

Indicates that the user has picked a picture or movie.

GetAnimationControllerForOperation(UINavigationController, UINavigationControllerOperation, UIViewController, UIViewController)

Called by the system to retrieve the transition animation for the operation.

(Inherited from IUINavigationControllerDelegate)
GetInteractionControllerForAnimationController(UINavigationController, IUIViewControllerAnimatedTransitioning)

Called by the system to retrieve an interactive transition animation.

(Inherited from IUINavigationControllerDelegate)
GetPreferredInterfaceOrientation(UINavigationController)

Can be overridden to set the preferred interface orientation of the .

(Inherited from IUINavigationControllerDelegate)
SupportedInterfaceOrientations(UINavigationController)

Can be overridden to dynamically specify the supported orientations of the .

(Inherited from IUINavigationControllerDelegate)
WillShowViewController(UINavigationController, UIViewController, Boolean)

Called by the system shortly before the is displayed.

(Inherited from IUINavigationControllerDelegate)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
Canceled(IUIImagePickerControllerDelegate, UIImagePickerController)

Indicates that the user cancelled the media-picking operation.

FinishedPickingMedia(IUIImagePickerControllerDelegate, UIImagePickerController, NSDictionary)

Indicates that the user has picked a picture or movie.

DidShowViewController(IUINavigationControllerDelegate, UINavigationController, UIViewController, Boolean)

Extension method called shortly after the viewController has been made visible.

GetAnimationControllerForOperation(IUINavigationControllerDelegate, UINavigationController, UINavigationControllerOperation, UIViewController, UIViewController)

Called by the system to retrieve the transition animation for the operation.

GetInteractionControllerForAnimationController(IUINavigationControllerDelegate, UINavigationController, IUIViewControllerAnimatedTransitioning)

Called by the system to retrieve an interactive transition animation.

GetPreferredInterfaceOrientation(IUINavigationControllerDelegate, UINavigationController)

Can be overridden to set the preferred interface orientation of the .

SupportedInterfaceOrientations(IUINavigationControllerDelegate, UINavigationController)

Can be overridden to dynamically specify the supported orientations of the .

WillShowViewController(IUINavigationControllerDelegate, UINavigationController, UIViewController, Boolean)

Called by the system shortly before the is displayed.

Applies to

See also