@cinnamontoast
Hi there! Thank you for your help :)
How do I know FamilyControlsError.authorizationCanceled maps to "Code 5"? I can't find a number in the docs? I might be missing something obvious?
To note, this worked in Beta 1 and Beta 2. I can't get it to work in Beta 3.
I call:
do {
try await AuthorizationCenter.shared.requestAuthorization(for: .individual)
} catch {
}
It then prompts me: "Allow 'APP' to Manage Restrictions on This iPad"
I click "Continue."
FaceID succeeds, and it just returns the error:
Error Domain=FamilyControls.FamilyControlsError Code=5 "(null)"
Topic:
App & System Services
SubTopic:
General
Tags: