Contents

allowsTextAttachmentView

A Boolean value that determines whether the text attachment uses text attachment views.

Declaration

var allowsTextAttachmentView: Bool { get set }

Discussion

When true, the text attachment tries to use a text attachment view returned by viewProvider(for:location:textContainer:). Default is true.

See Also

Defining the attachment’s contents