Apple's geocoding class, CLGeocoder
, takes a single address string (or other types of address) and searches for matches.
If you type an address into Apple's Maps application, it shows a table view of possible matches as you type. You can then either select one of those or hit enter to geocode ALL of the possible matches.
Is there any Apple-provided API that lets me, as a 3rd party developer, get a list of possible address matches that I can display?
I believe the answer to this is no, and that Apple is using an API that's not exposed to third party developers, but I'm hoping that I'm wrong and that somebody knows a way to do this
(It's my understanding that the paid version of Google's Google Places API offers this feature, but that it's not available for free.)
I'm working in Swift, so Swift-based tutorials/sample code are preferred, but this question is really language independent.