core-location Questions
20
Solved
I want to get the current location, but instead I get an error.
This is a snippet of my view controller.
- (void)viewDidLoad {
self.locationManager = [[CLLocationManager alloc] init];
[location...
Starstarboard asked 17/5, 2011 at 15:10
4
Solved
I use this code to check if I have access to the user location or not
if CLLocationManager.locationServicesEnabled() {
switch CLLocationManager.authorizationStatus() {
case .restricted, .denied:
...
Canea asked 26/9, 2020 at 4:13
17
I'm trying to use some fancy iBeacons without success, kCLAuthorizationStatusNotDetermined all time.
According to other questions it's a requirement to add those keys to info.plist (some questions...
Deb asked 23/9, 2014 at 21:37
10
Solved
I want to get the current longitude and latitude of a location using Swift and display them via labels. I tried to do this but nothing displays on the labels.
import UIKit
import CoreLocation
clas...
Indopacific asked 4/11, 2014 at 17:44
2
Solved
I have an application that moves CLPlacemark objects around and uses them, and I would like to unit-test several components that interact with them. To do this, I would like to be able to stub out ...
Friesian asked 13/4, 2016 at 21:9
6
I am using CLLocationManager class. I have a simple class method for capturing the location
+(void)captureLocation{
mLocationManager = [[CLLocationManager alloc]init];
mLocationManager.delegate ...
Unific asked 19/11, 2013 at 12:59
4
I'm writing an Application that makes use of MapKit. I have implemented MKLocalSearch and I get back an array of MKMapItem's. However I was wondering if it was possible to get the category of each ...
Hacking asked 15/12, 2014 at 5:41
13
Solved
I need a way of comparing two CLLocationCoordinate2D's however when I tried using == it wouldn't work. Please can someone help me out with the best way of comparing them?
Entopic asked 17/4, 2012 at 21:4
2
Has anyone tried to update user's location in iOS 14 Widget?
After reading Apple Developer forums I've come up with the writing wrapper around CLLocationManager and using it this way:
class WidgetL...
Unclear asked 11/9, 2020 at 9:40
4
I trying to build augmented reality navigation using arcore in android. Is AR navigation direction is available in india? I just followed this link to develop ar navigation with core loaction using...
Dammar asked 17/8, 2018 at 4:15
6
Solved
Currently I'm working on an App which geolocation capabilities are its most important feature. Actually we're very concerned about getting GPS values mocked up. I've read a lot of comments regardin...
Purificator asked 24/3, 2015 at 12:15
18
How can I set the location (as it's picked up in CoreLocation services) in the iPhone Simulator?
Allistir asked 18/10, 2008 at 2:15
8
ERROR,Generic,Time,320195751.128,Function,"void
CLClientHandleRegistrationTimerExpiry(__CFRunLoopTimer*,
void*)",Registration timer expired,
but client is still registering!
There are only a...
Lavallee asked 23/2, 2011 at 23:31
4
Solved
Under iOS13, when you request the .always permission for coreLocation (to enable background location e.g. for geofences or iBeacons), the app is only granted a "provisional always" permission, whic...
Hyaloplasm asked 6/8, 2019 at 10:46
4
Solved
Since recently, I get in the Xcode logs a lot of strange warnings from the CoreMotion framework, related to function getLocationForBundleID:
[Client] {"msg":"#NullIsland Either the l...
Ludwigshafen asked 22/11, 2020 at 9:42
2
I have the same problem of the title of this question:
The operation couldn’t be completed. (kCLErrorDomain error 1.)
This error is when the user press don't allow for the permission of locali...
Longhorn asked 30/3, 2015 at 15:32
4
Solved
I'm trying to create a simple app that finds out the region someone is in, but I'm stuck because none of the CLLocationManagerDelegate methods are called when the app runs and finds locations.
In ...
Semiannual asked 17/10, 2014 at 22:25
10
Solved
I'm trying to get my app working in Xcode 7 beta but I'm hitting this exception:
NSInternalInconsistencyException: 'Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal-&...
Dibble asked 14/8, 2015 at 0:25
4
Solved
I have an issue with submitting my app to the app store. My app wants to run in the background, so I have set "App registers for location updates in required back ground modes" array in the plist. ...
Pathos asked 31/1, 2012 at 5:19
16
Solved
I need to get the country location of a iOS device.
I've been trying to use CoreLocation with MKReverseGeocoder. However this seems to return erraneous quite frequently. And I only need the countr...
Exult asked 16/12, 2011 at 12:58
6
Solved
How can I convert a String address to CLLocation coordinates with Swift?
I have no code yet; I looked for a solution but couldn't find any.
Fray asked 16/2, 2017 at 16:16
4
Is this a valid way to calculate an angle (in radians) from one CLLocation to another?
-(float)angleFromLocation:(CLLocationCoordinate2D)start toLocation:(CLLocationCoordinate2D)end {
float deltaX...
Riana asked 3/8, 2011 at 10:3
8
I have one of my application, that is created in Xcode 8. I have used CoreLocation and MapKit in that app.
I have update app with latest iOS till now. and it was working fine. Now I am updating ap...
Calvo asked 18/10, 2019 at 6:27
5
CLLocationManager.requestLocation() takes around 10 seconds to fire didUpdateLocations event.
Here are the attributes set for the CLLocationManager
let locationManager = CLLocationManager()
locat...
Voracity asked 14/9, 2016 at 20:58
5
One of the frameworks I used (Indoo.rs SDK,for bluetooth location detection) was developed to work with NSLocationWhenInUseUsageDescription in the plist file. I am also using Core Location manager ...
Latreshia asked 17/3, 2015 at 6:49
1 Next >
© 2022 - 2024 — McMap. All rights reserved.