Post

Replies

Boosts

Views

Activity

Syncing iPhone/IPad configurations
Say a user wants to restrict their schedule for a certain app's usage every day. For sake of example, lets say they want to block Fruit Ninja usage during certain times of the day, and they've downloaded Fruit Ninja on iPhone and iPad. Is there a way to sync Family Controls / ManagedSettings settings between iOS and iPad, like a user can create a unified account that monitors Fruit Ninja usage across both devices (without having to set up separate configs on each device?) I'm thinking of something like syncing ApplicationTokens, but I don't think this would work since I imagine the hashes will be different for the same app on different devices.
1
0
723
Jul ’23
FamilyActivity ApplicationToken title dark/light modes
Currently, FamilyActivity labels rendered with Label(ApplicationToken) seem to have no way to respect a .preferredColorscheme(.dark/.light). The token appearance seems coerced to the system setting rather than the app preference. This results in tokens being arbitrarily invisible according to combinations of app and system colorscheme preferences. For example, if the user has set dark mode and SwiftUI sets .preferredColorscheme(.light), both the view background and label text will be white. (Conversely, with a combination of system light mode and view .preferredColorscheme(.black), both the view background and label text is be black). Is there any way to get a Label(ApplicationToken) to respect the application's preferredColorScheme?
1
1
551
Jun ’23
Screentime API Application Tokens
Hi, I'm new to the developer community and am developing an app for a school project that relies on the screentime API. I'm using SwiftUI to generate Labels using the given ApplicationToken generated from my FamilyActivitySelection. However, I notice that the icon for these tokens is extremely small: only about 25x25 px. I'm wondering if there is a way that the screentime API can let us use higher-res images using the opaque tokens? This would be extremely useful in developing a more HIG-aligned app (e.g. a scroll-view of blocked apps). Thank you!
4
1
1.5k
Jun ’23