Same, haven't found it anywhere
Post
Replies
Boosts
Views
Activity
I also have had my app declined for the same reason, the answer is to use the new Swift 5.5 API with Async Await version of the ATT
func requestAdsTrackingPermission() async {
let status = await ATTrackingManager.requestTrackingAuthorization()
switch status {
case .authorized:
// Tracking authorization dialog was shown
// and we are authorized
Log(ASIdentifierManager.shared().advertisingIdentifier)
case .denied:
// Tracking authorization dialog was
// shown and permission is denied
case .notDetermined:
// Tracking authorization dialog has not been shown
case .restricted:
//
@unknown default:
//
}
}
After changing the old completionHandler version of the ATT request my app now correctly requests tracking permission in the simulator.