Skip to main content
5 events
when toggle format what by license comment
Apr 29, 2017 at 4:16 history edited PolyGeo CC BY-SA 3.0
added 4 characters in body
Jan 29, 2015 at 2:36 comment added progrmr If you're not even getting the location symbol on the map then the problem is not just the compass. Something else is wrong. Is the code running on iOS 8? Did the code request permission to get location using requestWhenInUseAuthorization?
Jan 29, 2015 at 2:33 comment added progrmr Are you using compass navigation on a real device with a calibrated compass? The compass (magnetometer) doesn't work on the simulator and on device it must be calibrated. To find out if compass is calibrated, check to see if headingAccuracy field is greater than 0 in the CLHeading object you get from locationManager:didUpdateHeading:. Also make sure the device supports the compass with +headingAvailable method.
Jan 28, 2015 at 17:48 comment added Ahmed Elashker i'm setting the autoPanMode accordingly, the values are set correctly for autoPanMode and location updates and i made sure of it through debugging & break points it's the mapview that can't sense any of the changes it wouldn't draw a location symbol, it wouldn't zoom to the location and it wouldn't rotate by itself
Jan 28, 2015 at 17:33 history answered progrmr CC BY-SA 3.0