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.
Creates a preview reply attachment with the specified type.
init(data: Data, contentType: UTType)The content of the attachment.
The type of the attachment.