Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8328647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:30:42+00:00 2026-06-09T01:30:42+00:00

Am using MKReverseGeocoder to find the current location in my iPhone app. Now a

  • 0

Am using MKReverseGeocoder to find the current location in my iPhone app. Now a days the app should not find the current locations. When i trouble shoot the problem i have found the following error response from - (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFailWithError:(NSError *)error delegate. The error message is,

SourceCache/ProtocolBuffer/ProtocolBuffer-92/Runtime/PBRequester.m:687 server returned error: 503
2012-07-10 12:21:29.773 Dial25[3046:707] didFailWithError:- Error Domain=NSURLErrorDomain Code=-1011 "The operation couldn’t be completed. (NSURLErrorDomain error -1011.)" UserInfo=0x264090 {PBHTTPStatusCode=503}

I have used Google and found the answer to add [geoder autorelease]; in the didFailWithError: delegate but still my app should not find the current locations.

-(void)startFindLocationService 
{
    NSLog(@"Starting Location Services");
    CLLocationManager *locationManager = [[CLLocationManager alloc] init];
    locationManager.delegate = self;
    locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters;
    locationManager.distanceFilter = 20.0f;
}

-(void)findAddressByLatLong:(CLLocation *)currentLocation
{
    CLLocationCoordinate2D locationToLookup = currentLocation.coordinate;

    MKReverseGeocoder  *reverseGeocoder = [[MKReverseGeocoder alloc] initWithCoordinate:locationToLookup];
    reverseGeocoder.delegate = self;
    [reverseGeocoder start];
}

- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFailWithError:(NSError *)error
{
    NSLog(@"Error: %@", [error description]);
    [geocoder cancel];
    geocoder.delegate = nil;    
    [geocoder autorelease];
}

Can anyone please help me to solve the problem? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:30:44+00:00Added an answer on June 9, 2026 at 1:30 am

    I am attempting to learn more about geocoding myself and may have found some other references that will be helpful.

    1. Several MKReverseGeocoder class methods have been deprecated since iOS 5:
      http://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKReverseGeocoder_Class/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/doc/uid/TP40008323-AppendixA

    2. There were problems back in 2010 with Google only responding to MKReverseGeocoder requests at certain times of day. I do not know if this is relevant to your issue, but perhaps it has something to do with why Apple deprecated the methods.
      http://blog.aribraginsky.com/2009/12/curious-case-of-mkreversegeocoder.html

    3. See Rohan Kapur’s solution to MKReverseGeocoder bugs by switching to CLGeocoder:
      Using MKReverseGeocoder in a singleton class (ARC)

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using geo-location in my iPhone app. The battery drains faster even if I've
Hi i am using mkreversegeocoder to find the users current city.It works but when
I am using MKReverseGeocoder (reversegeocoder) to retrieve user's current location. I am calling reversegeocoder
I have used MKReverseGeocoder from iPhone sdk for my application without using mapview of
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using Location.getBearing(); I seem to get randomly changing bearings. Aka, I can turn the
i've read that with using mkreversegeocoder i can do a query every 60 seconds.
I am trying to get the name of the city of user's current location
Using jQuery, one can easily find out whether a particular element is visible using
Using mercurial, I've run into an odd problem where a line from one committer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.