Global Variable


A hint about an attachment’s file type.


let UNNotificationAttachmentOptionsTypeHintKey: String


The value of this key is an NSString containing a Uniform Type Identifier (UTI) that describes the file’s type. If you do not include this key, the attachment’s filename extension is used to determine its type.

See Also

Creating an Attachment

init(identifier: String, url: URL, options: [AnyHashable : Any]?)

Creates an attachment object from the specified file and options.

let UNNotificationAttachmentOptionsThumbnailHiddenKey: String

A Boolean value indicating whether the attachment’s thumbnail is hidden.

let UNNotificationAttachmentOptionsThumbnailClippingRectKey: String

The clipping rectangle for a thumbnail image.

let UNNotificationAttachmentOptionsThumbnailTimeKey: String

The frame number of an animation to use as a thumbnail image.