Stay organized with collections
Save and categorize content based on your preferences.
This guide outlines the changes needed to prepare your app for tvOS
14.
Prerequisites
PAL SDK 2.2.2 or higher.
Request App Tracking Transparency authorization
To display the App Tracking Transparency authorization request for accessing the
IDFA, update your Info.plist to add the NSUserTrackingUsageDescription key
with a custom message describing your usage. Here is an example description
text:
<key>NSUserTrackingUsageDescription</key>
<string>This identifier will be used to deliver personalized ads to you.</string>
The usage description appears in the App Tracking Transparency dialog box:
To present the authorization request, call
requestTrackingAuthorizationWithCompletionHandler:.
We recommend waiting for the completion callback prior to loading ads so that if
the user grants the App Tracking Transparency permission, the PAL SDK can use
the IDFA in ad requests.
Apple requires that developers publishing apps on the App Store disclose
certain information
regarding their apps' data use. Apple has
announced that these disclosures will
be required for new apps and app updates starting December 8, 2020.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-25 UTC."],[[["Update to PAL SDK 2.2.2 or higher to ensure compatibility with tvOS 14."],["Add the `NSUserTrackingUsageDescription` key to your `Info.plist` to request App Tracking Transparency authorization with a clear message explaining its purpose."],["Call `requestTrackingAuthorizationWithCompletionHandler:` before loading ads, ideally after providing an explainer to users for better transparency and user experience."],["Disclose your app's data usage information on the App Store as per Apple's requirements for new apps and app updates."]]],["To prepare apps for tvOS 14, developers must use PAL SDK 2.2.2 or higher and request App Tracking Transparency authorization to access the IDFA. This involves adding the `NSUserTrackingUsageDescription` key to the `Info.plist` with a custom message and calling `requestTrackingAuthorizationWithCompletionHandler:`. It is recommended to load ads after the completion callback. Additionally, apps must disclose their data usage on the App Store for new apps and updates starting December 8, 2020.\n"]]