Contents

mediaSubtypes

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

Declaration

var mediaSubtypes: PHAssetMediaSubtype { get }

Discussion

See PHAssetMediaSubtype for possible values.

Because an asset can have more than one subtype, use these values as bit masks to identify an asset. For example, the code below tests an asset for the panorama photo subtype.

See Also

Getting Information About the Asset