Guideline 5.1.5: Location Services
Location is used only where it serves a feature, with consent, and not to run emergency services or steer vehicles.
Part of Guideline 5.1: Privacy
Location may be collected for nothing the person sees
What Apple wants
Apps should use location only when it's directly relevant to what they offer (Guideline 5.1.5). Reviewers look for the feature behind the location prompt.
How to fix it
Remove the location request, or use location for a visible feature.
Steps
- Remove location collection that only feeds analytics, ads or logs.
- If a feature needs location, ask when that feature is used.
'Always' location may be requested without a background feature
What Apple wants
Location access should match what the features need (Guideline 5.1.5). Reviewers ask why an app needs location in the background and reject it when nothing uses it.
How to fix it
Ask only for 'While Using' location unless a feature really runs in the background.
Steps
- Request 'While Using' access instead of 'Always'.
- Remove the Always purpose string and the location background mode if nothing needs them.
Location may be used for emergency services or vehicle control
What Apple wants
Apple doesn't want location features used to run emergency services or to steer vehicles and aircraft on their own; small devices like toy drones are the exception (Guideline 5.1.5).
How to fix it
Remove emergency dispatch or autonomous control built on location, or limit control to small devices.
Steps
- Point people to their local emergency number instead of dispatching help yourself.
- Limit any location-driven control to small devices like toy drones.
The app may find people's location without their permission
What Apple wants
Apps must tell people and get their consent before collecting or using location (Guideline 5.1.5), and must respect a declined permission (Guideline 5.1.1(iv)). Working out location another way after a 'no' breaks both.
How to fix it
Get location only through the location permission, and accept a decline.
Steps
- Remove IP or Wi-Fi geolocation used to locate the person.
- When they decline, let them type a city or address instead.
Check your app for this, and everything else reviewers flag
AppScend scans your project on your Mac, ranks what will get it rejected, and your own coding agent fixes it on a branch you review.
npx appscend