Deprecated MKReverseGeocoder Methods

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

Deprecated in iOS 5.0

coordinate

The coordinate whose placemark data you want to retrieve. (read-only) (Deprecated in iOS 5.0. Use the CLGeocoder class instead.)

@property(nonatomic, readonly) CLLocationCoordinate2D coordinate
Availability
  • Available in iOS 3.0 and later.
  • Deprecated in iOS 5.0.
Declared In
MKReverseGeocoder.h

delegate

The reverse geocoder’s delegate object. (Deprecated in iOS 5.0. Use the CLGeocoder class instead.)

@property(nonatomic, weak) id<MKReverseGeocoderDelegate> delegate
Discussion

A reverse-geocoder object sends messages to its delegate regarding the successful (or unsuccessful) acquisition of placemark data. You must provide a delegate object to receive this data.

For more information about the MKReverseGeocoderDelegate protocol, see MKReverseGeocoderDelegate Protocol Reference.

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

placemark

The result of the reverse-geocoding operation. (read-only) (Deprecated in iOS 5.0. Use the CLGeocoder class instead. Note that placemarks in CLGeocoder always come back to the coordinate of the place, not the requested coordinate.)

@property(nonatomic, readonly) MKPlacemark *placemark
Discussion

The value of this property is nil by default. After a successful reverse-geocoding operation, it is set to the placemark object that was generated.

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

querying

A Boolean value indicating whether the receiver is in the middle of reverse-geocoding its coordinate. (read-only) (Deprecated in iOS 5.0. Use the CLGeocoder class instead.)

@property(nonatomic, readonly, getter=isQuerying) BOOL querying
Discussion

This property contains YES if the process is ongoing or NO if the process is done or has not yet been initiated.

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

cancel

Cancels a pending reverse-geocoding request. (Deprecated in iOS 5.0. Use the CLGeocoder class instead.)

- (void)cancel
Discussion

You can use this method to cancel a pending request and free up the resources associated with that request. If the request has already returned or has not yet begun, calling this method has no effect.

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

initWithCoordinate:

Initializes the reverse geocoder with the specified coordinate value. (Deprecated in iOS 5.0. Use the CLGeocoder class instead.)

- (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate
Parameters
coordinate

The map coordinate whose placemark information you want to retrieve.

Return Value

An initialized MKReverseGeocoder object.

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

start

Starts the reverse-geocoding process asynchronously. (Deprecated in iOS 5.0. Use the CLGeocoder class instead.)

- (void)start
Discussion

You should call this method only once to begin the reverse-geocoding process. This method submits the coordinate value to the map server asynchronously and returns. Once the process is complete, the results are delivered to the associated delegate object.

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