Instance Method

representationForUTI:

Returns an asset representation object for a given representation UTI.

Declaration

- (ALAssetRepresentation *)representationForUTI:(NSString *)representationUTI;

Parameters

representationUTI

A UTI describing a representation for the asset.

Return Value

An an asset representation object for the representation specified by representationUTI, or nil if the asset does not support the representation.

Discussion

This method returns nil 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
- thumbnail

Returns a thumbnail representation of the asset.

Deprecated
- aspectRatioThumbnail

Returns an aspect ratio thumbnail of the asset.

Deprecated