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.