The subtypes of the asset, identifying special kinds of assets such as panoramic photo or high-framerate video.
- iOS 8+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10+
PHAssetMediaSubtype for possible values.
Because an asset may have more than one subtype, you use these values as bit masks to identify an asset. For example, the code below tests an asset for the panorama photo subtype:
Reading Asset Metadata
Constants identifying specific variations of asset media, such as panorama or screenshot photos and time lapse or high frame rate video.
var isFavorite: Bool
A Boolean value that indicates whether the user has marked the asset as a favorite.