You can add code to info.plist
<key>NSLocationAlwaysUsageDescription</key> <string>This application requires location services to work</string> <key>NSLocationWhenInUseUsageDescription</key> <string>This application requires location services to work</string>

and also check the resolution of the location service.
if([CLLocationManager locationServicesEnabled]){ NSLog(@"Location Services Enabled"); if([CLLocationManager authorizationStatus]==kCLAuthorizationStatusDenied){ alert = [[UIAlertView alloc] initWithTitle:@"App Permission Denied" message:@"To re-enable, please go to Settings and turn on Location Service for this app." delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alert show]; } }
source share