Post

Replies

Boosts

Views

Activity

Reply to DrawTogether example code?
As is possible with beta changes, the sample code no longer compiles. One fix was easy: a button style for prominence was explicitly added in beta 5 -- now it is Button { canvas.startSharing() } label: { Image(systemName: "person.2.fill") } .buttonStyle(.borderedProminent) The other fix I am less sure of: the type alias for Task.Handle was deprecated, and if I use just Task it compiles, but now SharePlay won't start the Group Activity - it instead shows a toast where you have to "Choose Content to Use SharePlay". It's unclear if this is a side effect of the Task change, or if there is an undocumented change in GroupActivities. Has anyone succeeded in running this code lately? Thanks.
Aug ’21