CLGeocoder get more than one address in result of geocodeAddressString

Hello guys,


I'm wondering if it's possible to get more than one address when I use geocodeAddressString to get address suggestions.

I always get only one result.


environment: ios12, simulator


Any idea?

Replies

As the API returns an array, you should expect the possibility of more than one result.

Yes, I'd expect more than one but always get only one result.

Let's say I enter 'Gy' as search critera, I'll get only one result. I'd expect more than one result in this case.

I'm having this issue as well.