How to: Apply IDFA on iOS 14 beta 5 or above

If you want to use Admob in the future, you must apply AppTrackingTransparency to your app.

MING
Mac O’Clock

--

Apple announced a new transparency framework for iOS 14 . To prevent a significant loss in ad revenue, you will need to make the changes to your app before the release of iOS 14.— Google

After the release of iOS 14 beta 5, I noticed that Google updated the document, which advised the developers to use IDFA to prevent revenue loss.

What is IDFA?

IDFA, as known as Identifier for Advertisers, is an Apple iOS feature to identify the user’s device. By the release of iOS 14, the app will be required the user’s permission for IDFA. Your user will see an ATT alert that asks allow access to and use of identifiers.

Action to IDFA

Platform: iOS 14 beta 5 or above
Tools: Xcode 12 beta 5
Environment: SwiftUI with multi-platform

Steps

  1. To display the App Tracking Transparency authorization request for accessing the IDFA, you need to update your Info.plist (iOS).
    Use NSUserTrackingUsageDescription key with a custom message to describing the usage. Here’s a quick example for you:

--

--

MING
Mac O’Clock

 WWDC Award Winner | Senior Software Engineer, UI Designer, Github Developer | Contact: hi@1998.media | Website: 1998.media