穿山甲-全球开发者成长平台|接入文档
知识中心
本文尚无当前语言版本,相关翻译工作正在进行中,感谢您的理解!

iOS 14 Readiness

Checklist

  1. Update apps to run on Xcode 12.0 and higher version to ensure compatibility with iOS 14.
  2. Add Pangle SKAdNetwork ID to your app's Info.plist to enable conversion tracking
  1. Support for Apple’s App Tracking Transparency: Starting with iOS 14, IDFA will not be available until App Tracking Transparency calls for Tracking authorization requests from users. If the application does not request this, the IDFA obtained by the application will be automatically zeroed out, which may result in a reduction in your advertising revenue
  • 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.
  • Below is an example description text:
  • To display the authorization request prompt, call 'requestTrackingAuthorization(completionHandler:)'. We recommend waiting for the end user's authorization before loading ads, in order to get the user's authorization accurately.

Example for Swift:

Example for Objective-C

Note:

  • App Tracking Transparency (ATT) is used to request user authorization to access app-related data for tracking the user or the device. Visit https://developer.apple.com/documentation/apptrackingtransparency for more information.
  • SKAdNetwork (SKAN) is Apple's attribution solution that helps advertisers measure the success of ad campaigns while maintaining user privacy. Using Apple's SKAN, ad networks can attribute app installs even when IDFA is unavailable. Visit https://developer.apple.com/documentation/storekit/skadnetwork for more information.
  • Before Apple requires developers to configure ATT, developers shouldn't configure ATT, which will affect the acquisition of IDFA, thus affecting the revenue.