Modifier

Partager via


UIDocumentInteractionRectangle Delegate

Definition

A delegate signature for getting the region used for previewing.

public delegate CoreGraphics.CGRect UIDocumentInteractionRectangle(UIDocumentInteractionController controller);
type UIDocumentInteractionRectangle = delegate of UIDocumentInteractionController -> CGRect

Parameters

controller
UIDocumentInteractionController

The calling controller.

Return Value

The rectangle where the preview will be shown.

Remarks

Signature for the UIDocumentInteractionRectangle's RectangleForPreview hook.

Applies to