Type Method

isSupportedAttachmentUTI:

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

Declaration

+ (BOOL)isSupportedAttachmentUTI:(NSString *)uti;

Parameters

uti

The UTI (Uniform Type Identifier) in question. See Uniform Type Identifiers Reference

Return Value

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

See Also

Determining If Message Composition Is Available

+ canSendText

Returns a Boolean value that indicates whether the current device is capable of sending text messages.

+ canSendAttachments

Indicates whether or not messages can include attachments.

+ canSendSubject

Indicates whether or not messages can include subject lines, according to the user’s configuration in Settings.