iOS Guides | Samples

MonoTouch.UIKit.UIImagePickerControllerDelegate Class

A class used to receive notifications from the UIImagePickerController.

See Also: UIImagePickerControllerDelegate

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UIImagePickerControllerDelegate", false)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIImagePickerControllerDelegate : UINavigationControllerDelegate, IUIImagePickerControllerDelegate, IDisposable

See Also

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 UIViewController.DismissModalViewControllerAnimated method of the parent UIViewController.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIImagePickerControllerDelegate are listed below.

See Also: UINavigationControllerDelegate

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

Canceled(UIImagePickerController)
Indicates that the user cancelled the media-picking operation.
override
DidShowViewController(UINavigationController, UIViewController, Boolean)
Indicates that the specified UIViewController has been shown.
FinishedPickingImage(UIImagePickerController, UIImage, NSDictionary)
Indicates that the user has completed picking an image.|b
FinishedPickingMedia(UIImagePickerController, NSDictionary)
Indicates that the user has picked a picture or movie.
override
GetAnimationControllerForOperation(UINavigationController, UINavigationControllerOperation, UIViewController, UIViewController) : IUIViewControllerAnimatedTransitioning
Retrieves the IUIViewControllerAnimatedTransitioning for the specified operation.
override
GetInteractionControllerForAnimationController(UINavigationController, IUIViewControllerAnimatedTransitioning) : IUIViewControllerInteractiveTransitioning
Retrieves the IUIViewControllerInteractiveTransitioning for the specified animationController.
override
GetPreferredInterfaceOrientation(UINavigationController) : UIInterfaceOrientation
Returns the preferred interface orientation.
override
SupportedInterfaceOrientations(UINavigationController) : UIInterfaceOrientationMask
Retrieves all supported orientations.
override
WillShowViewController(UINavigationController, UIViewController, Boolean)
Indicates that the specified UIViewController is about to be displayed.