CLGeocoder Only Returning One Placemark

后端 未结 2 1319
-上瘾入骨i
-上瘾入骨i 2020-12-30 10:38

I have a problem with CLGeocoder where when I call geocodeAddressString:withCompletionHandler I only ever get one result back, despite knowing that the inputted

2条回答
  •  独厮守ぢ
    2020-12-30 10:54

    I dont know about CLGeocoder but if your requirement is a location search another way is to use google location search url http://maps.google.com/maps/geo?q=london which returns a json containing the matched location information.

提交回复
热议问题