I am using CoreLocation Framework for getting latitude and longitude in my project.
I have implement this delegate method in my .m file
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations {
NSLog(@"Locations : %@", locations);
}
But in iOS 5.0 & 5.1, this method is not call. and in iOS 6.0 or later it's call properly. so how to call this method in iOS 5.0 or later.