편집

다음을 통해 공유


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