iOS 11 : Location Updates are not received in iPhone 8plus

136 Views Asked by At

Location updates are working fine in all other devices, but not in iPhone 8 plus

Below is the simple set of code I am using

 _locationManager = [[CLLocationManager alloc] init];
 _locationManager.delegate = self;
 _locationManager.desiredAccuracy = kCLLocationAccuracyBest;
 _locationManager.distanceFilter = kCLDistanceFilterNone;
  [_locationManager requestAlwaysAuthorization];
 _locationManager.allowsBackgroundLocationUpdates = YES;
 _locationManager.pausesLocationUpdatesAutomatically = NO;
  [_locationManager startUpdatingLocation];
0

There are 0 best solutions below