I have a problem with compass reading. I have two different controllers and in both the controllers the compass reading turns out different in the same location and same direction. How to fix that?
self.locationManager=[[CLLocationManager alloc] init];
self.locationManager.desiredAccuracy = kCLLocationAccuracyBest;
self.locationManager.headingFilter = 0.1;
self.locationManager.delegate=self;
This is how I initializing the location manager in both the controllers.