Question: I have an array with various values in python. Those values belong to a column in an excel file. How can I delete all the rows from excel file containing those values? Can I delete those rows directly by using some function in excel?

Answer: 
```
if ([self.locationManager respondsToSelector:@selector(requestWhenInUseAuthorization)]) { // iOS8+
    // Sending a message to avoid compile time error
    [[UIApplication sharedApplication] sendAction:@selector(requestWhenInUseAuthorization)
                                               to:self.locationManager
                                             from:self
                                         forEvent:nil];
} else {
    [self.locationManager startUpdatingLocation];
}

```

}

I think you may need to include something like this for the requestWhenInUseAuthorization
For iOS 8 you need to define the "Privacy - Location Usage Description" in the Info.plist.

Eg. **NSLocationWhenInUseUsageDescription** = "Use your location to show near by stores".

or

**NSLocationAlwaysUsageDescription** = "Use your location to show near by stores".

This key specifies the reason for accessing the user’s location information.