Instance Property

uniformTypeIdentifier

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

Declaration

var uniformTypeIdentifier: String? { get }

Discussion

For more information, see Uniform Type Identifiers Overview.

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 creationDate: Date?

The date and time when the asset was originally created.

var location: CLLocation?

The location information that was saved with the asset.

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