Post

Replies

Boosts

Views

Activity

Reply to ScreenTime API on non-Family Sharing Devices
@KnolanNose To summarize it, is that correct that Screen Time API can only be used for apps that deal with a child-parent relationship? In other words, if people want to build an app that helps people manage distractions (ex. disable social media between 8 am - 6 PM), that is impossible? If it is impossible, could this use-case be supported?
Jun ’21
Reply to Is it possible to shield websites?
Seems like I can't edit the post, but the answer is "yes." In Safari. I was wrong in assuming that a user can't select websites in the FamilyActivityPicker. They can. However, for some reason, it took time for the websites to appear? Maybe due to a lack of recent Safari browser use? A clarification on how websites start appearing in the FamilyActivityPicker would be helpful. Thank you! :)
Jun ’22
Reply to AuthorizationCenter requestAuthorization returns error 5
@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)"
Jul ’22
Reply to AuthorizationCenter requestAuthorization returns error 5
@cinnamontoast I opened FB10798095 If it indeed is a cancellation issue, then this log may be relevant: error 2022-07-20 19:41:44.011573 -0400 FamilyControlsAuthenticationUI Attempt to present <FamilyControlsAuthenticationUI.ConfirmationViewController: 0x103032600> on <FamilyControlsAuthenticationUI.AuthenticationUIServiceViewController: 0x10550e700> (from <FamilyControlsAuthenticationUI.AuthenticationUIServiceViewController: 0x10550e700>) whose view is not in the window hierarchy.
Jul ’22
Reply to Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653081 Recovery Suggestion: Please check your project settings and ensure that a valid product has been built.
Part of my problem when getting this error was a faulty extension from an older Xcode beta version. In Xcode Beta 1, it created extensions one way. In Xcode Release Candidate, it created extensions another way. I had to delete the extension from the project, and re-create it in the Xcode Release Candidate.
Sep ’22
Reply to Device Activity App Icon Size
+1 on having more power to display the icons in various ways While on the topic of icons, there seems to be a bug where the icon inside the Label is a different size depending on the device...on my iPhone 14 Pro, there's a "border" around the icon (icon image is about 20x20). On iPhone XS and one of the latest iPad Pro's, the icon spans the full 'space' of Label (icon image is about 40x40). One of the issues is that it makes it difficult to size properly. I am not sure what size the icons will have on all the different devices.
Dec ’22