Instance Method

defaultRepresentation()

Returns an asset representation object for the default representation.

Declaration

func defaultRepresentation() -> ALAssetRepresentation!

Return Value

An asset representation object for the default 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 ALAssetsLibraryChanged notification is posted.

See Also

Accessing Representations

func representation(forUTI: String!) -> ALAssetRepresentation!

Returns an asset representation object for a given representation UTI.

Deprecated
func thumbnail() -> Unmanaged<CGImage>!

Returns a thumbnail representation of the asset.

Deprecated
func aspectRatioThumbnail() -> Unmanaged<CGImage>!

Returns an aspect ratio thumbnail of the asset.

Deprecated