Submits a forward-geocoding request using the specified address dictionary.
- iOS 5.0–11.0Deprecated
- macOS 10.8–10.13Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–11.0Deprecated
- watchOS 2.0–4.0Deprecated
- Core Location
An Address Book dictionary containing information about the address to look up.
A block object containing the code to execute at the end of the request. This code is called whether the request is successful or unsuccessful.
This method submits the specified location data to the geocoding server asynchronously and returns. Your completion handler block will be executed on the main thread.
After initiating a forward-geocoding request, do not attempt to initiate another forward- or reverse-geocoding request. Geocoding requests are rate-limited for each app, so making too many requests in a short period of time may cause some of the requests to fail. When the maximum rate is exceeded, the geocoder passes an error object with the value
CLError to your completion handler.