Post

Replies

Boosts

Views

Activity

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?
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