is it possible to set a default value for App Tracking Tranparency as .denied in my iOS swift

338 Views Asked by At

I have a requirement wherein one of the apps doesn't need to show App Tracking Transparency Alert as they are not using IDFA's. Is there any possible way from the code to handle this. I just wanted to hide this ATT alert only for this app, but to show this for all other. Is it possible to set tracking Status to .denied somewhere in the coder to make it hide all the time? Is it possible? Please advise

1

There are 1 best solutions below

0
On BEST ANSWER

As far as current iOS SDK offerings, there's no way to set default value for App Tracking Transparency .

As mentioned in the comments, you can simply just avoid calling requestTrackingAuthorization() method in your app code, and Apple's review process is fine with that.

Furthermore, you can even avoid linking your app against by removing AppTrackingTransparency.framework from Xcode UI under Targets -> General -> Frameworks, Libraries, and Embedded Content.

Xcode framework linking setting