If you ever use location services in your app, consider using CLLocationManager’s purpose text field to set a string that says why exactly your app requires location information. This goes a long way in convincing the user as to why they need to provide you with their location information.

The image below shows a blank location request alert.

No Text

When you set the
CLLocationManager’s purpose property,

self.locationManager = [[CLLocationManager alloc] init];
self.locationManager.purpose = NSLocalizedString(@"We use location to track you and invade your privacy", @"");

you’ll see something like this.
With Text

Follow the second method. Don’t be a creepy app.


Follow me on Twitter