共用方式為


IUIViewControllerPreviewingDelegate.CommitViewController 方法

定義

呼叫以允許開發人員準備認可檢視的方法。

[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

參數

previewingContext
IUIViewControllerPreviewing

發生 3D Touch 的內容。

viewControllerToCommit
UIViewController

應用程式應該傳送控制項的 。

屬性

適用於