Location button
In plain words
In iOS, iPadOS and watchOS, the Core Location button gives one-time location access; you may customize only certain attributes and are responsible for legibility, or the system won't grant location access on tap.
- The first tap shows a standard alert explaining the button's limited access and the location indicator. After confirming, a tap gives one-time permission that expires when people stop using the app.
- With no authorization status, a tap equals Allow Once. If people chose While Using the App, tapping doesn't change the app's status.
- Consider using the button as a lightweight way to share location for specific features, especially if people often grant Allow Once.
- Consider customizing the title (system-provided), filled or outlined glyph, background, title and glyph colors, and corner radius. Other visual attributes can't be customized.
- You're responsible for fixing warned problems such as low contrast or too much translucency, and text must fit without truncation at all accessibility text sizes and in translations.
- If the system finds consistent problems with a customized button, it won't give your app device location on tap, though the button can still perform other app-specific actions.
From the official text
In iOS, iPadOS, and watchOS, Core Location provides a button so people can grant your app temporary authorization to access their location at the moment a task needs it. A location button’s appearance can vary to match your app’s UI and it always communicates the action of location sharing in a way that’s instantly …
Read the full official text ↗ Open in the StoreRules library Ask whether your app complies
Developers' cases about this clause
No cases yet.