Post

Replies

Boosts

Views

Activity

iOS 14 and Later AppTrackingTransparency
Hey, How do I get my AppTrackingTransparency to work on iOS 14 and Later? The code below works for iOS 14 but not 15, please let me know.         if #available(iOS 14 , *) {                          ATTrackingManager.requestTrackingAuthorization { status in                                  switch status {                                  case .notDetermined:                                          print("notDetermined")                 case .restricted:                                          print("restricted")                 case .denied:                                          print("denied")                 case .authorized:                                          print("authorized")                                          print(ASIdentifierManager.shared().advertisingIdentifier)                 @unknown default:                                          print("unknown")                 }             }         } else {                      }
1
0
962
Sep ’21