iOS Guides | Samples

MonoTouch.UIKit.IUIViewControllerPreviewingDelegate

Interface representing the required methods (if any) of the protocol UIViewControllerPreviewingDelegate.

See Also: IUIViewControllerPreviewingDelegate

Syntax

[MonoTouch.Foundation.Protocol(Name="UIViewControllerPreviewingDelegate", WrapperType=typeof(MonoTouch.UIKit.UIViewControllerPreviewingDelegateWrapper))]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewControllerForPreview", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.UIKit.UIViewController), Selector="previewingContext:viewControllerForLocation:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CommitViewController", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="previewingContext:commitViewController:")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public interface IUIViewControllerPreviewingDelegate : INativeObject, IDisposable

Remarks

This interface contains the required methods (if any) from the protocol defined by UIViewControllerPreviewingDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIViewControllerPreviewingDelegate protocol.

Optional methods (if any) are provided by the UIViewControllerPreviewingDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Requirements

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

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

Public Methods

CommitViewController(IUIViewControllerPreviewing, UIViewController)
Method that is called to allow the developer to prepare the commit view.
GetViewControllerForPreview(IUIViewControllerPreviewing, PointF) : UIViewController
Method that is called when the user has pressed a source view, blurring the remainder of the screen, so that a preview view controller can be returned.