deleteWordBackward(_:)
Deletes the word preceding the current insertion point.
Declaration
optional func deleteWordBackward(_ sender: Any?)Discussion
If the insertion point is in the middle of a word, this method deletes only the portion of the word preceding the insertion point.