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

# location

The location information that was saved with the asset.

## Declaration

```swift
@NSCopying var location: CLLocation? { get }
```

## Discussion

Discussion Typically, an asset’s location metadata identifies the place where the asset was captured.

## See Also

### Getting Information About the Asset

- [mediaType](photos/phcontenteditinginput/mediatype.md)
- [PHAssetMediaType](photos/phassetmediatype.md)
- [mediaSubtypes](photos/phcontenteditinginput/mediasubtypes.md)
- [PHAssetMediaSubtype](photos/phassetmediasubtype.md)
- [creationDate](photos/phcontenteditinginput/creationdate.md)
- [uniformTypeIdentifier](photos/phcontenteditinginput/uniformtypeidentifier.md)
