Contents

isSupportedAttachmentUTI(_:)

Indicates whether or not the message can accept a file, with the specified UTI, as an attachment.

Declaration

class func isSupportedAttachmentUTI(_ uti: String) -> Bool

Parameters

  • uti:

    The UTI (Uniform Type Identifier) in question. See TP40009257

Return Value

true if a file with the specified UTI can be attached to the message, or false otherwise.

See Also

Determining if message composition is available