MKReverseGeocoder を実際に終了させるのに苦労しています。これが私がすることです:
// reverse geocode the user location
geocoder = [[[MKReverseGeocoder alloc] initWithCoordinate:mapView.userLocation.location.coordinate] autorelease];
geocoder.delegate = self;
[geocoder start];
userLocation 座標は有効です。didFindPlacemark と didFailWithError があり、どちらもヒットしません...デリゲートの設定が間違っているか、わかりません...ヘッダーは次のとおりです。
@interface E_85AppDelegate : UIViewController <UIApplicationDelegate, MKMapViewDelegate, MKReverseGeocoderDelegate, CLLocationManagerDelegate>
{
IBOutlet UIWindow *window;
IBOutlet UITabBarController* tabBarController;
IBOutlet MKMapView* mapView;
IBOutlet MKReverseGeocoder* geocoder;
// other class members...
}
何か案は?