App Tracking Transparency-Request person authorization to entry app-related information for monitoring the person or the system.
It’s essential to use the AppTrackingTransparency framework in case your app collects information about finish customers and shares it with different firms for functions of monitoring throughout apps and websites. The AppTrackingTransparency framework presents an app-tracking authorization request to the person and offers the monitoring authorization standing.
To make use of the AppTrackingTransparency framework:
Arrange a NSUserTrackingUsageDescription to show a system-permission alert request on your app put in on end-user gadgets.
Name requestTrackingAuthorization(completionHandler:) to current the app-tracking authorization request to the tip person.
Use trackingAuthorizationStatus to find out the app-tracking permission standing. See ATTrackingManager.AuthorizationStatus for standing enums.
For extra details about app monitoring and privateness, see Person Privateness and Information Use and App Privateness Particulars.
A category that gives a monitoring authorization request and the monitoring authorization standing of the app.
A message that informs the person why an app is requesting permission to make use of information for monitoring the person or the system.
In case your app calls the App Monitoring Transparency API, you could present customized textual content, referred to as a usage-description string, which is displayed as a system-permission alert request. The usage-description string tells the person why the app is requesting permission to make use of information for monitoring the person or the system. The app person has the choice to grant or deny the authorization request. Should you do not embody a usage-description string, your app might crash when a person first launches it.
Be sure your app requests permission to trace someday earlier than monitoring happens. This could possibly be at first launch or when sure options are used in your app. For instance, when signing on with a third-party SSO.
Set the NSUserTrackingUsageDescription key within the Info Property Listing (Information.plist):
Choose your venture’s Information.plist file within the Xcode Venture Navigator.
Modify the file utilizing the Xcode Property Listing Editor: Privateness-Monitoring Utilization Description.
Use sentence-style capitalization and acceptable ending punctuation. Maintain the textual content brief and particular. You don’t want to incorporate your app title as a result of the system already identifies your app.
If the title is a sentence fragment, don’t add ending punctuation.
See Apple’s Human Interface Tips for instance utilization descriptions.
People also like to ask: