My device is signed into a child's iCloud account. The authorization view is show when i use requestAuthorization(for:.individual). But the authorization view is not show when i use requestAuthorization(for:.child),and FamilyActivityPicker does not list installed apps on either of the guardian's or child's devices, it only lists the categories.
This is my code, what's wrong with it?
Post
Replies
Boosts
Views
Activity
`.onAppear{
Task {
do {
if #available(iOS 16.0, *){
try await AuthorizationCenter.shared.requestAuthorization(for:.child)
}else{
print("failure!!")
}
}catch{
print("fialed error:::(error)")
}
}
}
There was the same situation when i call requestAuthorization(for: .child). And it not displays the authentication sheet when my app first launches call this method. But when i change the argument "child" to "individual" and call the method there displays the authentication sheet.
Does anyone know why this is happening? Thanks for your answer.
It is work now after the device unenrolled in MDM.
Thanks you very much.
Hello,we are waiting for approval for more than 5 weeks now. No confirmation email after filling the form. Contacting support was not helpful either.
We are working on a project of Parent Control. There are two applications one for parents and another for children.Parents application can block applications on the child's device.
I call 'requestAuthorization(for: .child)' on the child App. Do I still need call it on the parent App? Or do I still need to authorize on the parent App?
Hello,we are waiting for approval for more than 5 weeks now. No confirmation email after filling the form. Contacting support was not helpful either. We are working on a project of Parent Control. There are two applications one for parents and another for children.Parents application can block applications on the child's device. I call 'requestAuthorization(for: .child)' on the child App. Do I still need call it on the parent App? Or do I still need to authorize on the parent App?