The means by which the asset entered the user’s Photos library.
- iOS 9+
- macOS 10.13+
- Mac Catalyst 13.0+Beta
- tvOS 10+
Assets from some sources can be edited, deleted, or added to collections; assets from other sources do not support these operations. For details, see
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.
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