All Questions
Tagged with cllocationmanager or core-location
5,838 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
0
answers
14
views
iPad Compass Calibration Issues: Impact of Magnetic Cover - Orientation issue iOS Swift
We have developed an iPad application using the ARCL (AR + CoreLocation) library to render Point of Interest (POI) annotations in both an AR view and a standard MapView. The application performs as ...
0
votes
0
answers
30
views
Fetch iBeacon frame data in app quit state
I have a ble device that transmits custom data in iBeacon frame. I need to capture the data continuously even when the app is quit forcefully. entry exit event does fire randomly and that time data i ...
-2
votes
1
answer
106
views
iOS 26 CLHeading's magneticHeading and trueHeading return travel direction instead of device orientation when user is in motion [closed]
I am using CLLocationManager to obtain the device's compass heading (direction), and I have encountered an abnormal behavior:
When the user is stationary: After calling startUpdatingHeading(), the ...
0
votes
0
answers
60
views
How to capture the location event (enter/exit) that launched the app from terminated state?
I am implementing geofencing in my iOS app and running into some problems when the app is terminated (swiped up). I am using locationManager.startMonitoring(for: region) to initiate monitoring and ...
-1
votes
1
answer
34
views
Does didEnterRegion fire if you start monitoring inside the region?
Working on a geo-fence module and wondering if after defining and monitoring a region what is the expected behavior if the user is in that region already? (Noticing that I am not seeing an event)
If ...
0
votes
0
answers
38
views
how to delay requestWhenInUseAuthorization when a view appears
I wanna call the CLLocationManager's requestWhenInUseAuthorization with a delay when the app (view) appears. I have tried to have a task and a sleep like the below, but it doesn't seem to work. The ...
1
vote
1
answer
45
views
SwiftUI Not getting location permission prompt
I'm trying to learn how location services in SwiftUI work but I can't get the location permission prompt to work.
This is the code I have currently
import SwiftUI
import CoreLocation
@Observable
...
0
votes
1
answer
80
views
Location data no longer updating consistently after updating the app from old version
I am developing an iOS app that uses CLLocationManager to collect location continuously in both foreground and background. But it is having the following 3 issues and I don’t understand why:
After a ...
0
votes
0
answers
24
views
Request core location service access on OSX using Kotlin Native
I'm trying to create an application which needs to know if I am in a specific location or not. I've read that the CoreLocation API should be able to provide me with this data. Kotlin Native seems to ...
0
votes
0
answers
65
views
How to Implement Room-Specific Geofencing for Home Automation?
I am working on a home automation project that’s already implemented, and I’m trying to add a feature to detect the exact location of a user within my house, specifically within individual rooms.
I am ...
0
votes
0
answers
21
views
How to show a group of pre-defined marker PLUS the user's location? [duplicate]
I have made a view which shows a group of markers on a map:
Map(selection: $selected) {
ForEach(locationManager.points) { point in
Marker(
point.title,
coordinate: ...
0
votes
0
answers
140
views
iOS - Geofencing Event Not Triggering When App is Killed and Not Opened After 2-3 Days
I’m facing an issue with geofencing events in my app. When the app is killed and not opened for 2–3 days, the geofencing event is not triggering when I re-enter the geofenced area. I’ve made sure that ...
0
votes
2
answers
117
views
Get raw byte data array from ibeacon in ios app
My iBeacon, in addition to the standard UUID, Major, Minor, RSSI data, contains additional information about the battery level, which is located in a set of raw data bytes.
On Android, I can easily ...
-2
votes
1
answer
100
views
CoreLocation not working in Swift, but only on MacOS
This location manager in swift is not receiving location updates for MacOS. For your information:
This same file is shared with the iOS instance of the app and works fine there.
This is not my device ...
0
votes
0
answers
82
views
Detecting Driving State with Core Motion Framework - Automotive Accuracy Issues
I am working on an iOS app where I need to detect when a user starts and stops driving using the Apple Core Motion framework. I've implemented the following MotionActivityManager class to handle ...