func onDeleteCommand (perform: (() -> Void)?) -> some View
Adds an action to perform in response to the system’s Delete command, or pressing either the ⌫ (backspace) or ⌦ (forward delete) keys while the view has focus.
Availability 有効性
Technology
func onDeleteCommand (perform: (() -> Void)?) -> some View