Can I use CLBackgroundActivitySession with CLLocationManager?
I have an app that tracks user location for mileage, and it currently uses CLLocationManager for starting and stopping location updates. I’ve recently started working with CLBackgroundActivitySession and have some questions regarding how it interacts with CLLocationManager.
Swift CLLocationManager didFailWithError denied even when authorized
After my app has been backgrounded for a while and I foreground the app CLLocationManager
will fire and I will get a CLError.denied
error even after the app has .authorizedWhenInUse
permission.
CLLocationManager no value comes out of the func
I need a value for the “city” property, but it prints nil, how can I get a value?