Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _locationManager = [[CLLocationManager alloc] init];
- [_locationManager setDelegate:self];
- self.locationManager.headingOrientation = CLDeviceOrientationFaceUp;
- [self.locationManager setDistanceFilter:kCLDistanceFilterNone];
- [self.locationManager setDesiredAccuracy:kCLLocationAccuracyBestForNavigation];
- [self.locationManager startUpdatingLocation];
- self.locationManager.activityType = CLActivityTypeFitness;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement