Is there a way for me to programmatically check whether a user has disabled my app's access to Screen Time?
I currently request Family Controls / Screen Time access upon download by calling the following:
AuthorizationCenter.shared.requestAuthorization(for: .individual)
I need to be able to detect, though, when a user has gone into Settings -> Screen Time and disabled my app's Screen Time access. I tried calling the following:
AuthorizationCenter.shared.authorizationStatus
But it appears to have a value of Approved even after I turn off my app's Screen Time access.
Is there any way to accurately detect this in the code?