Stay organized with collections
Save and categorize content based on your preferences.
This guide outlines the changes needed to prepare your app for iOS
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."],[[["This guide details the necessary changes to ensure your app is compatible with iOS 14 regulations."],["Apps need to request user permission for tracking using the App Tracking Transparency (ATT) framework and provide a clear explanation for its usage within the app and on the App Store."],["You can use the User Messaging Platform (UMP) SDK or manually implement the ATT authorization request using `requestTrackingAuthorizationWithCompletionHandler:`."],["Developers must disclose their app's data usage practices for the App Store as per Apple's requirements."]]],["To prepare for iOS 14, use PAL SDK 2.2.2 or higher. Implement App Tracking Transparency (ATT) by adding the `NSUserTrackingUsageDescription` key to your `Info.plist` with a custom message. Use `requestTrackingAuthorizationWithCompletionHandler:` to request authorization, ideally after a user-friendly explainer. If using the User Messaging Platform (UMP) SDK, know that it affects all users. Finally, disclose required data usage in the App Store, as mandated by Apple.\n"]]