IOS Compass Reading comes out different in different controllers -


i have problem compass reading. have 2 different controllers , in both controllers compass reading turns out different in same location , same direction. how fix that?

self.locationmanager=[[cllocationmanager alloc] init]; self.locationmanager.desiredaccuracy = kcllocationaccuracybest; self.locationmanager.headingfilter = 0.1; self.locationmanager.delegate=self; 

this how initializing location manager in both controllers.


Comments