Questions tagged [core-location]
This proprietary Apple framework for iOS and Mac OS X allows apps to obtain information on a device's current location (latitude, longitude, and on some devices, altitude), direction and speed. The framework also provides methods for monitoring regions and being notified as the devices enters and exits predetermined geographical regions.
core-location
3,117
questions
-1
votes
0
answers
11
views
How do I access location data from a CLI executable? - Jailbroken device
I have this CLI tool running on my jailbroken iPhone that needs to access location data using CLLocationManager.
I've tried adding different keys to my entitlements file with no success.
<?xml ...
0
votes
0
answers
54
views
Location manager delegate never called
I'm trying to build a simple macOS command-line tool in Objective C that merely gets the current location via a CLLocationManager. However, none of my delegate's methods are ever called and my ...
0
votes
0
answers
57
views
SwiftUI : Location Permission Popup Not Appearing
I'm working on a SwiftUI app that requires location services, and I've implemented a LocationManager class to handle location updates and permissions. However, I'm facing an issue where the location ...
0
votes
0
answers
35
views
I have to trigger a local notification when user reaches in monitored region
I have to send local notification in iOS when user reaches at his nearby destination stored in local data
I have to trigger notification on did enter region method of clLocationManager delegate
it ...
0
votes
1
answer
37
views
Core Location not working properly with stand-alone WatchOS App
I'm working on a stand-alone WatchOS App that relies on the user's location data.
I'm trying to fetch user's current location using CLLocationManager, by having an instance called manager, then ...
0
votes
0
answers
41
views
didFinishLaunchingWithOptions getting called more than once on IOS
I'm writing a flutter app which will use the native Location library and I notice that the didFinishLaunchingWithOptions for IOS gets called multiple times making me having more than one ...
1
vote
1
answer
80
views
Why does my compass vibrate when its tab is not active?
I'm creating an app that contains a compass tab. I would like for it to vibrate upon changing degrees of orientation. I got it to work, however, when I switch over to a new tab I can still feel the ...
2
votes
0
answers
34
views
IOS Region Monitoring not working when app is terminated (Flutter)
I'm building a Flutter app which will use EventChannel and MethodChannel that will communicate between Native and Flutter code. I'm using the IOS Region Monitoring to detect if the user have exited or ...
-4
votes
1
answer
28
views
View Hierarchy Not Capturing Location Authorization Prompt
Why does the view hierarchy NOT capture the location authorization prompt?
0
votes
0
answers
28
views
Determine if CLLocation output was a product of GPS, WiFi or Cellular checks
My understanding is that CoreLocation is a black box that when user gives permissions it outputs a location approximation.
Is there any way to check the location object to see if WiFi was used instead ...
0
votes
0
answers
27
views
CLLocationManager no value comes out of the func [duplicate]
I need a value for the "city" property, but it prints nil, how can I get a value?
I tried adding an output parameter -> String to the func but it gives me many errors
class ViewController:...
0
votes
0
answers
34
views
How can I resolve this UI responsiveness error?
When a user downloads and opens our app, they are presented with a tutorial on how to use the app. If they hit the skip button, or continue once they've gone through the tutorial, they are supposed to ...
0
votes
0
answers
73
views
Saving and retrieving Map data using SwiftUI Map
I am trying to display a location in Map, allow user to search a location and update the location, then save the location.
When retrieving the data from model.object.location is is not displaying in ...
-3
votes
1
answer
38
views
Dynamically changing locationManager (CoreLocation) settings after initialisation
I am currently building a tracking application. I would like to know if the settings of the locationManager can be dynamically changed. I could not find a similar stack overflow question, nor a useful ...
0
votes
0
answers
35
views
Swift: locationManager.authorisationStatus stays at .notDetermined - no user faced request is shown
I am trying to implement an app in SwiftUI and I need the devices location. I do not manage to get the user's authorisation - no request dialog is shown. The authorisationStatus always returns ....