---
title: localizedLocationNames
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetcollection/localizedlocationnames
---

# localizedLocationNames

The names of locations grouped by the collection (an array of NSString objects).

## Declaration

```swift
var localizedLocationNames: [String] { get }
```

## Discussion

Discussion This property applies only to asset collections whose type is PHAssetCollectionType.moment. The Photos app automatically creates moments to group assets by time and location. A moment might group assets captured in multiple locations, so this array can contain multiple names. 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)
- [approximateLocation](photos/phassetcollection/approximatelocation.md)
