Created
April 4, 2013 05:41
-
-
Save bdittmer/5308095 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)startCoreUpdate { | |
if (!_locationManager) { | |
self.locationManager = [[[CLLocationManager alloc] init] autorelease]; | |
_locationManager.delegate = self; | |
_locationManager.desiredAccuracy = kCLLocationAccuracyHundredMeters; | |
_locationManager.distanceFilter = 80.0f; | |
_locationManager.purpose = NSLocalizedString(@"GeoPhoto uses your location to find nearby photos", nil); | |
} | |
[_locationManager startUpdatingLocation]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment