How to store at one time more than one app while selection from FamilyActivityPicker
?
.familyActivityPicker(
isPresented: $isDiscouragedPresented,
selection: $model.selectionToDiscourage
)
The code above save only one token. If user select more than one app the FamilyActivitySelection.applicationTokens
becomes empty []
, but if select only one app, applicationTokens
will contain one token from selected app.