Share via


IUIViewControllerPreviewingDelegate.GetViewControllerForPreview Method

Definition

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.

[Foundation.Export("previewingContext:viewControllerForLocation:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIViewController GetViewControllerForPreview(UIKit.IUIViewControllerPreviewing previewingContext, CoreGraphics.CGPoint location);
[<Foundation.Export("previewingContext:viewControllerForLocation:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetViewControllerForPreview : UIKit.IUIViewControllerPreviewing * CoreGraphics.CGPoint -> UIKit.UIViewController
override this.GetViewControllerForPreview : UIKit.IUIViewControllerPreviewing * CoreGraphics.CGPoint -> UIKit.UIViewController

Parameters

previewingContext
IUIViewControllerPreviewing

The context in which the 3D Touch is occurring..

location
CGPoint

The location where the 3D touch is occurring.

Returns

Attributes

Applies to