GeRyCh
GeRyCh

Reputation: 1630

Fetch photos from iOS photo library by its location

Is it possible to retreive photos from photo library using their location? I know for sure location information exists in photo's metadata (fact: "Places" folder shows where pictures were taken). Regards

Upvotes: 1

Views: 706

Answers (1)

Ludovic Landry
Ludovic Landry

Reputation: 11774

You cannot fetch photos by location as the documentations says, sadly. The only way is to fetch all PHAsset, or fetch using a time interval if you can. Then you can enumerate your results and access the PHAsset.location property to filter the photos.

Upvotes: 1

Related Questions