共用方式為


UIDocumentViewForPreview 代理人

定義

委派簽章,用於取得負責轉譯 UIDocumentInteractionController 預覽的 UIView。

public delegate UIKit.UIView UIDocumentViewForPreview(UIDocumentInteractionController controller);
type UIDocumentViewForPreview = delegate of UIDocumentInteractionController -> UIView

參數

controller
UIDocumentInteractionController

呼叫端。

傳回值

負責轉譯預覽的 UIView。

備註

用來在 UIDocumentInteractionController 中設定 ViewForPreview 勾點。

適用於