Global Variable


The clipping rectangle for a thumbnail image.


NSString *const UNNotificationAttachmentOptionsThumbnailClippingRectKey;


The value of this key is a dictionary containing a normalized CGRect—that is, a unit rectangle whose values are in the range 0.0 to 1.0 and represent the portion of the original image that you want to display. For example, specifying an origin of (0.25, 0.25) and a size of (0.5, 0.5) defines a clipping rectangle that shows only the center portion of the image. Use the CGRectCreateDictionaryRepresentation function to create the dictionary for your rectangle.

See Also

Creating an Attachment

+ attachmentWithIdentifier:URL:options:error:

Creates an attachment object from the specified file and options.


A hint about an attachment’s file type.


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


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