3

I have an app for iOS, where request for tracking shows dialog. But when I run it on MacOS(MacCatalyst) no dialog is showed.

I tried to create new project for testing but it also not working. I call in ViewDidLoad:

ATTrackingManager.requestTrackingAuthorization(completionHandler: {
    (status) in print(status)             
    switch status {
        case.authorized:
        break
    
        case .notDetermined:
        break
        
        case .restricted: 
        break
        
        case .denied:
        break
        
        @unknown default:
        break
        }
})
Victor Lee
  • 2,467
  • 3
  • 19
  • 37
ZArez
  • 31
  • 2

0 Answers0