Instance Property

isFavorite

A Boolean value that indicates whether the asset is marked as one of the user’s favorites.

Declaration

var isFavorite: Bool { get set }

See Also

Modifying Assets

init(for: PHAsset)

Creates a request for modifying the specified asset.

var creationDate: Date?

The date and time at which the asset claims to have been originally created.

var location: CLLocation?

The location information saved with the asset.

var isHidden: Bool

A Boolean value that indicates whether the asset is hidden in collections.

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