Contents

localizedLocationNames

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

Declaration

var localizedLocationNames: [String] { get }

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