Instance Property

creationDate

The date and time when the asset was originally created.

Declaration

var creationDate: Date? { get }

See Also

Getting Information About the Asset

var mediaType: PHAssetMediaType

The type of the asset, such as video or audio.

enum PHAssetMediaType

Constants identifying the general type of an asset, such as image or video.

var mediaSubtypes: PHAssetMediaSubtype

The subtypes of the asset, identifying special kinds of assets such as a panoramic photo or a high-frame-rate video.

struct PHAssetMediaSubtype

Constants identifying specific variations of asset media, such as panorama or screenshot photos and time lapse or high frame rate video.

var location: CLLocation?

The location information that was saved with the asset.

var uniformTypeIdentifier: String?

The uniform type identifier for the asset’s image or video data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software