What’s the easiest way to get the current location of an iPhone?
What I do is implement a singleton class to manage updates from core location. To access my current location, I do a CLLocation *myLocation = [[LocationManager sharedInstance] currentLocation]; If you wanted to block the main thread you could do something like this: while ([[LocationManager sharedInstance] locationKnown] == NO){ //blocking here //do stuff here, dont forget … Read more