Deprecated MKReverseGeocoderDelegate Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 5.0

reverseGeocoder:didFailWithError:

Tells the delegate that the specified reverse geocoder failed to obtain information about its coordinate. (required) (Deprecated in iOS 5.0. Use the CLGeocoder class instead.)

- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFailWithError:(NSError *)error
Parameters
geocoder

The reverse geocoder object that was unable to complete its request.

error

An error object indicating the reason the request did not succeed.

Availability
  • Available in iOS 3.0 and later.
  • Deprecated in iOS 5.0.
Declared In
MKReverseGeocoder.h

reverseGeocoder:didFindPlacemark:

Tells the delegate that a reverse geocoder successfully obtained placemark information for its coordinate. (required) (Deprecated in iOS 5.0. Use the CLGeocoder class instead.)

- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlacemark:(MKPlacemark *)placemark
Parameters
geocoder

The reverse geocoder object that completed its request successfully.

placemark

The object containing the placemark data.

Discussion

You can get the map coordinate for the associated request from either the reverse geocoder object or from the placemark object, which itself supports the MKAnnotation protocol.

Availability
  • Available in iOS 3.0 and later.
  • Deprecated in iOS 5.0.
Declared In
MKReverseGeocoder.h