---
title: approximateLocation
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetcollection/approximatelocation
---

# approximateLocation

A location representing those of all assets in the collection.

## Declaration

```swift
var approximateLocation: CLLocation? { get }
```

## Discussion

Discussion The Photos app automatically creates moments to group assets by time and location. A moment can contain photos from several locations in close proximity. In such cases, this property describes the general area containing the locations of all assets in the moment. This property applies only to asset collections whose type is PHAssetCollectionType.moment. For other asset collection types, this property’s value is nil.

## See Also

### Reading Asset Collection Metadata

- [assetCollectionType](photos/phassetcollection/assetcollectiontype.md)
- [PHAssetCollectionType](photos/phassetcollectiontype.md)
- [assetCollectionSubtype](photos/phassetcollection/assetcollectionsubtype.md)
- [PHAssetCollectionSubtype](photos/phassetcollectionsubtype.md)
- [estimatedAssetCount](photos/phassetcollection/estimatedassetcount.md)
- [startDate](photos/phassetcollection/startdate.md)
- [endDate](photos/phassetcollection/enddate.md)
- [localizedLocationNames](photos/phassetcollection/localizedlocationnames.md)
