Contents

ATTrackingManager.AuthorizationStatus.restricted

The value that returns if authorization to access app-related data for tracking the user or the device has a restricted status.

Declaration

case restricted

Discussion

A restricted condition means the device does not prompt for tracking authorization when requestTrackingAuthorization(completionHandler:) is called, nor is it displayed when the NSUserTrackingUsageDescription is triggered. Also, on restricted devices, the Allow Apps To Request To Track setting is disabled and cannot be changed. This setting allows users to opt in or out of allowing apps to request user consent to access app-related data that can be used for tracking the user or the device.

See Also

Cases