Contents

NSUserTrackingUsageDescription

A message that explains the purpose for accessing data that an app can use to track a person or device.

Discussion

If your application uses the App Tracking Transparency framework, you need to provide a usage-description string to explain the purpose for accessing app-related data that the app can use to track a person or device. The system displays the string in a modal UI from which the person can grant or deny permission to access the tracking data.

This key is required. Your app crashes if it attempts to use the App Tracking Transparency framework without including the key in your target’s properties in Xcode.

The system displays this key’s string in a modal UI when your app requests authorization to access app-related data that the app can use to track the person or the device by calling either method:

Keep the text of your description short and specific. The system displays your app name in the prompt, so you don’t need to include it in the string. For example usage descriptions, see Apple’s Human Interface Guidelines.

See Also

Security