The width, in pixels, of the asset’s image or video data.
- iOS 8+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10+
If the asset’s content has been edited, this property describes the size of the current version of the asset.
Reading Asset Metadata
The type of the asset, such as video or audio.
Constants identifying the general type of an asset, such as image or video.
The subtypes of the asset, identifying special kinds of assets such as panoramic photo or high-framerate video.
Constants identifying specific variations of asset media, such as panorama or screenshot photos and time lapse or high frame rate video.
The means by which the asset entered the user’s Photos library.
The height, in pixels, of the asset’s image or video data.
The date and time at which the asset was originally created.
The location information saved with the asset.
The duration, in seconds, of the video asset.
A Boolean value that indicates whether the user has marked the asset as a favorite.
A Boolean value that indicates whether the user has hidden the asset.
A Boolean value that indicates whether the user has chosen to hide to the sync failure message.