Contents

tracksTextAttachmentViewBounds

A Boolean value that determines the text attachment’s bounds policy.

Declaration

var tracksTextAttachmentViewBounds: Bool { get set }

Discussion

If true, the framework calls the textAttachment property’s attachmentBounds(for:location:textContainer:proposedLineFragment:position:) method and examines the text attachment view provider to determine the bounds instead of using the bounds property of this instance. Defaults to false.

See Also

Defining the contents