App Tracking Transparency in iOS 15 (Swift & SwiftUI)

Federica Benacquista
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.

  1. Import the AppTrackingTransparency framework to your target.

--

--

Federica Benacquista

I’m a self taught iOS developer and soon to be entrepreneur. I like to explain tricky concepts as easily as possible and it’s exactly what I do here.