UIDocumentViewForPreview Delegate

Definition

A delegate signature for getting the UIView responsible for rendering the preview of a UIDocumentInteractionController.

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

Parameters

controller
UIDocumentInteractionController

The caller.

Return Value

The UIView responsible for rendering the preview.

Remarks

Used to set the ViewForPreview hook in UIDocumentInteractionController.

Applies to