Instance Method

thumbnail

Returns a thumbnail representation of the asset.

Declaration

- (CGImageRef)thumbnail;

Return Value

A thumbnail representation of the asset.

Discussion

The size of the thumbnail is the appropriate for the platform. The image is returned in the correct orientation (that is, “pointing up”—you shouldn’t have to rotate the image).

This method returns NULL for assets from a shared photo stream that are not yet available locally. If the asset becomes available in the future, an ALAssetsLibraryChangedNotification notification is posted.

See Also

Accessing Representations

- defaultRepresentation

Returns an asset representation object for the default representation.

Deprecated
- representationForUTI:

Returns an asset representation object for a given representation UTI.

Deprecated
- aspectRatioThumbnail

Returns an aspect ratio thumbnail of the asset.

Deprecated