Sdílet prostřednictvím


UIViewControllerPreviewingDelegate.CommitViewController Method

Definition

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

[Foundation.Export("previewingContext:commitViewController:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CommitViewController(UIKit.IUIViewControllerPreviewing previewingContext, UIKit.UIViewController viewControllerToCommit);
[<Foundation.Export("previewingContext:commitViewController:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CommitViewController : UIKit.IUIViewControllerPreviewing * UIKit.UIViewController -> unit
override this.CommitViewController : UIKit.IUIViewControllerPreviewing * UIKit.UIViewController -> unit

Parameters

previewingContext
IUIViewControllerPreviewing

The context in which the 3D Touch is occurring.

viewControllerToCommit
UIViewController

The to which the app should transfer control.

Implements

Attributes

Applies to