App Tracking Transparency in iOS 15 (Swift & SwiftUI)
3 min readFeb 13, 2022
I recently tried to publish an app where I implemented the ATT popup in a common view controller.
No need to say that Apple rejected it because it wouldn’t show up on iOS 15 and above (it worked fine on iOS 14).
So after a while of searching and trying, I found the solution:
The fist 2 steps have to be done both for Swift and SwiftUI.
- Import the AppTrackingTransparency framework to your target.