共用方式為


UIDocumentInteractionControllerDelegate.ViewControllerForPreview 方法

定義

指出 UIDocumentInteractionController 需要 UIViewController 來呈現檔預覽。

[Foundation.Export("documentInteractionControllerViewControllerForPreview:")]
public virtual UIKit.UIViewController ViewControllerForPreview (UIKit.UIDocumentInteractionController controller);
abstract member ViewControllerForPreview : UIKit.UIDocumentInteractionController -> UIKit.UIViewController
override this.ViewControllerForPreview : UIKit.UIDocumentInteractionController -> UIKit.UIViewController

參數

傳回

屬性

適用於