Share via


IUIViewControllerPreviewingDelegate Interface

Definition

Delegate object whose methods are called in reaction to "3D Touch" on supported hardware

[Foundation.Protocol(Name="UIViewControllerPreviewingDelegate", WrapperType=typeof(UIKit.UIViewControllerPreviewingDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewControllerForPreview", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUIViewControllerPreviewing), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(UIKit.UIViewController), Selector="previewingContext:viewControllerForLocation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CommitViewController", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUIViewControllerPreviewing), typeof(UIKit.UIViewController) }, Selector="previewingContext:commitViewController:")]
public interface IUIViewControllerPreviewingDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIViewControllerPreviewingDelegate", WrapperType=typeof(UIKit.UIViewControllerPreviewingDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewControllerForPreview", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUIViewControllerPreviewing), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(UIKit.UIViewController), Selector="previewingContext:viewControllerForLocation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CommitViewController", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUIViewControllerPreviewing), typeof(UIKit.UIViewController) }, Selector="previewingContext:commitViewController:")>]
type IUIViewControllerPreviewingDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
CommitViewController(IUIViewControllerPreviewing, UIViewController)

Method that is called to allow the developer to prepare the commit view.

GetViewControllerForPreview(IUIViewControllerPreviewing, CGPoint)

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.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also