---
title: location
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetchangerequest/location
---

# location

The location information saved with the asset.

## Declaration

```swift
var location: CLLocation? { get set }
```

## Discussion

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:)](photos/phassetchangerequest/init(for:).md)
- [creationDate](photos/phassetchangerequest/creationdate.md)
- [isFavorite](photos/phassetchangerequest/isfavorite.md)
- [isHidden](photos/phassetchangerequest/ishidden.md)
