Post

Replies

Boosts

Views

Activity

Comment on ATTrackingManager.requestTrackingAuthorization stopped working in iOS 15
The delay is a workaround. The actual issue is that the request has to be called when the application state is UIApplicationStateActive. This is documented but the significance can be hard to understand: "Calls to the API only prompt when the application state is UIApplicationStateActive." (https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/3547037-requesttrackingauthorization) so make the call in "applicationDidBecomeActive"and all will be good.
Oct ’21