0

I am working on an iPhone app which needs to find out current city/State. I am using reversegeocoding. But its delegate methods are not get called. I am not sure where I am going wrong because I looked at couple of examples. I will really appreciate if anyone help me out here.

slonkar
  • 4,055
  • 8
  • 39
  • 63
  • Reverse Geocoding is under NDA as part of iOS 5. Please refrain from asking iOS 5 questions until the public release. – Moshe Aug 11 '11 at 17:33
  • I did not get it .. I mean if that service is deprecated, I have Apple's Current Address example which is working perfectly fine. Can you shed some more light on this ? – slonkar Aug 11 '11 at 17:54
  • 3
    **Moderator Note** We're not going to act on a question _simply_ because it might violate an NDA. If you think about it, any code snippet pasted here might _be covered under an NDA_ and unwittingly posted. We hope that programmers realize the consequences of posting code on a public forum, but we can't _possibly_ police that. The question is either on topic, or not. I realize that answers might be scarce, due to the same NDA, but that is no reason for moderator intervention. I don't work for Apple. – Tim Post Aug 11 '11 at 18:27
  • 1
    MKReverseGeocoder has been available in iOS since 3.0. – picciano Aug 11 '11 at 21:25

2 Answers2

0

Do you have a map visible? I believe the service does not work without a visible map. If not, it would also violate the Google Maps API terms of service.

picciano
  • 22,341
  • 9
  • 69
  • 82
  • The service works without an visible map, but as you mentioned it violate the terms using it without a Google maps: "The Google terms of service require that the reverse geocoding service be used in conjunction with a Google map; take this into account when designing your application's user interface." – AlexVogel Aug 12 '11 at 08:33
  • Actually I did not used it to show current location.I just wanted to get current city and state for search query optimization. – slonkar Aug 12 '11 at 13:32
0

Did you set the delegate property of MKReverseGeocoder and included the necessary function from MKReverseGeocoderDelegate? A method/class/service marked as deprecared means not that is does not work.

AlexVogel
  • 10,601
  • 10
  • 61
  • 71