The return value of the requestTrackingAuthorizationWithCompletionHandler is not ATTrackingManagerAuthoratusRestricted.

I deleted the existing installed app, changed > Tracking > Allow Apps Request to Track to OFF, and attempted to request tracking as shown below.
However, the ATTrackingManagerAuthorizationStatus value is output as ATTrackingManagerAuthorizationStatusDenied instead of ATTrackingManagerAuthorizationStatusRestricted.

[ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus) {
NSLog (@"%ul", ATTrackingManager.trackingAuthorizationStatus)
}];

Besides that,
  • ATTrackingManagerAuthorizationStatusNotDeterred

  • ATTrackingManagerAuthorizationStatusDenied

  • ATTrackingManagerAuthorizationStatusAuthorized

The is normally output according to the CASE.

How can I check ATTrackingManagerAuthorizationStatusRestricted status?
Is it just the beta version of the bug?

Built on iOS14 beta 4 / XCode12 beta4.
The return value of the requestTrackingAuthorizationWithCompletionHandler is not ATTrackingManagerAuthoratusRestricted.
 
 
Q