IUIViewControllerPreviewingDelegate.CommitViewController(IUIViewControllerPreviewing, UIViewController) IUIViewControllerPreviewingDelegate.CommitViewController(IUIViewControllerPreviewing, UIViewController) 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 IUIViewControllerPreviewing

The context in which the 3D Touch is occurring.

viewControllerToCommit
UIViewController UIViewController

The to which the app should transfer control.

Applies to