While running my code into device, I'm not able to getting device current location.
-(void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error
method called. I'm not able to getting device locations while device is in motion.