Contents

init(data:contentType:)

Creates a preview reply attachment with the specified type.

Declaration

init(data: Data, contentType: UTType)

Parameters

  • data:

    The content of the attachment.

  • contentType:

    The type of the attachment.