Edit

Share via


IUIViewControllerPreviewingDelegate.CommitViewController Method

Definition

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

[Foundation.Export("previewingContext:commitViewController:")]
[Foundation.Preserve(Conditional=true)]
public void CommitViewController (UIKit.IUIViewControllerPreviewing previewingContext, UIKit.UIViewController viewControllerToCommit);
abstract member 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.

Attributes

Applies to