Instance Property

location

The location information saved with the asset.

Declaration

var location: CLLocation? { get set }

Discussion

Typically, an asset’s location metadata identifies the place where the asset was captured. Use this property to provide a different location.

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 isFavorite: Bool

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

var isHidden: Bool

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