Post

Replies

Boosts

Views

Activity

Comment on How do I persist the Family Activity Picker?
This is the data which savedSelection returned when I printed it after selecting an app (I wrote a print statement inside of fetchApps) - Application(token: ApplicationToken(data: 128 bytes)) [<AppToken: 0x30351ff70> (entity: AppToken; id: 0x853eb00f9a7fd9c0 x-coredata://15EF1B82-60AB-499D-A5A8-B65972D11F59/AppToken/p29; data: { bundleIdentifier = Temp; })] I am not sure if this is the right value that you are talking about.
Topic: App & System Services SubTopic: General Tags:
Jan ’25
Comment on How do I persist the Family Activity Picker?
As for not changing selectionToDiscourage in any way, I didn't because I am not sure how. For example, I tried writing this in my fetchApps function - model.selectionToDiscourage = savedSelection.map(.bundleIdentifier) My code throws an error here saying that I cannot assign value of type '[String?]' to type 'FamilyActivitySelection'.
Topic: App & System Services SubTopic: General Tags:
Jan ’25
Comment on How do I persist the Family Activity Picker?
I responded to your message in the replies below (due to word count) in case you don't get notifications for those. Thank you!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on How do I persist the Family Activity Picker?
This is the data which savedSelection returned when I printed it after selecting an app (I wrote a print statement inside of fetchApps) - Application(token: ApplicationToken(data: 128 bytes)) [<AppToken: 0x30351ff70> (entity: AppToken; id: 0x853eb00f9a7fd9c0 x-coredata://15EF1B82-60AB-499D-A5A8-B65972D11F59/AppToken/p29; data: { bundleIdentifier = Temp; })] I am not sure if this is the right value that you are talking about.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on How do I persist the Family Activity Picker?
As for not changing selectionToDiscourage in any way, I didn't because I am not sure how. For example, I tried writing this in my fetchApps function - model.selectionToDiscourage = savedSelection.map(.bundleIdentifier) My code throws an error here saying that I cannot assign value of type '[String?]' to type 'FamilyActivitySelection'.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on How do I persist the Family Activity Picker?
I figured out that core data was the complete wrong way to go. You need to use UserDefaults to be able to persist the picker.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on iOS 26.2 (23C55): DeviceActivity eventDidReachThreshold fires with 0 Screen Time minutes
Hello, quick question out of curiosity: have you been able to reproduce this issue on iOS 26.3 beta 2? I know it’s only been out briefly, but so far it appears more stable than 26.2 and 26.3 for me. Thanks!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
Comment on iOS 26.2 (23C55): DeviceActivity eventDidReachThreshold fires with 0 Screen Time minutes
Hello, quick question out of curiosity: have you been able to reproduce this issue on iOS 26.3 beta 2? I know it’s only been out briefly, but so far it appears more stable than 26.2 and 26.3 for me. Thanks!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
Comment on iOS 26.2 RC DeviceActivityMonitor.eventDidReachThreshold regression?
Hello, quick question out of curiosity: have you been able to reproduce this issue on iOS 26.3 beta 2? I know it’s only been out briefly, but so far it appears more stable than 26.2 and 26.3 for me. Thanks!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26