Post

Replies

Boosts

Views

Activity

onDeleteCommand modifier
Has anyone had success getting the .onDeleteCommand() modifier to work with a List? .Delete() seems to be working fine, and enables swipe-to-delete on any platform, and I figured the onDeleteCommand modifier was the key to enabling the Edit > Delete menu on macOS, but no matter where I put the modifier in my view the Edit > Delete command remains disabled.
1
0
1.8k
Jun ’20