Edytuj

Udostępnij za pośrednictwem


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.Preserve(Conditional=true)]
public UIKit.UIViewController GetViewControllerForPreview (UIKit.IUIViewControllerPreviewing previewingContext, CoreGraphics.CGPoint location);
abstract member 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