Top "Cllocationmanager" questions

The CLLocationManager class defines the interface for configuring the delivery of location- and heading-related events to your application

How to get Current Location using SwiftUI, without ViewControllers?

I've prepared in my project the following class to retrieve the user current location: LocationManager.swift import Foundation import CoreLocation …

ios swiftui core-location cllocationmanager
iOS Location Accuracy

Hello i am using location in iOS app i set the accuracy like this: locationManager.desiredAccuracy = kCLLocationAccuracyHundredMeters and i am …

ios swift cllocationmanager cllocation
locationServicesEnabled always return YES

I tested my device (iPod Touch 2G iOS 4.1) if location services are enabled permitted = [locationManager locationServicesEnabled]; and I always get …

iphone objective-c cocoa-touch cllocationmanager
MKMapView and CLLocationManager

I want to use a MKMapView to display the user current location using the default breathing blue pin and I …

iphone objective-c mkmapview cllocationmanager
Replacement for "purpose" property of CLLocationManager

In iOS 6, the purpose property of CLLocationManager, to describe the reason for using location services (@property(copy, nonatomic) NSString *purpose) …

ios cocoa-touch ios6 cllocationmanager deprecated
how do I detect location service disable for my app?

IOS4 has recently introduced the possibility to enable/disable location services for a specific application. I need to detect if …

iphone core-location cllocationmanager
Not being prompted to enable Location Services in App

UPDATE: THIS IS NOT A DUPLICATE. I have already added the required key to the info.plist as stated in …

ios objective-c cllocationmanager cllocation
Having trouble calculating accurate total walking/running distance using CLLocationManager

I'm trying to build an iOS app that displays the total distance travelled when running or walking. I've read and …

objective-c ios core-location cllocationmanager cllocation
NSTimer and NSRunLoop

My app tracks a user with CLLocationManager. In the delegate call didUpdateToLocation I do all the fun stuff of saving …

objective-c nstimer cllocationmanager nsrunloop
iOS: CLLocationManager's didEnterRegion not called

I have successfully managed to register a region or monitoring, I know this because the didStartMonitoringForRegion method was fired. I …

ios objective-c uialertview cllocationmanager cllocation