I have tried to use Screen Time API. The problem is that I can't get access to FamilyControl framework on parent's device. What should I do to get access? class AppDelegate: NSObject, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { AuthorizationCenter.shared.requestAuthorization { res in switch res { case .success(): print(===SUCCESS AUTHORIZATION===) case .failure(let error): print(error.localizedDescription) } } return true } }
Topic:
App & System Services
SubTopic:
General
Tags:
Managed Settings
Family Controls
Device Activity
wwdc21-10123
1
0
1.2k