5. Tips and Guidelines

See some important tips as well as Apple's own guideline before starting to use the SDK.

Apple provides some useful tips about Requesting Permissions as part of their Human Interface Guidelines.

In addition to that, below are the things to consider for an optimal user experience:

Privacy

  • Request personal data only when your app clearly needs it.

  • Explain why your app needs the information.

    • When the application requests permission for background locations or motion activities, a message will be shown to the user. You can configure this message by changing the value for the following keys in Info.plist

      • NSLocationAlwaysUsageDescription

      • NSLocationWhenInUseUsageDescription

      • NSLocationAlwaysAndWhenInUseUsageDescription

      • NSMotionUsageDescription

Consistency

  • Request permission at launch only when necessary for your app to function.

  • Use the system-provided alerts.

Efficiency

  • Don’t request location information unnecessarily.

Last updated