In Messages.app you can dismiss the keyboard down by scrolling the list view. To be clear, it isn\'t simply responding to a scrollViewDidScroll event. The keyboard
scrollViewDidScroll
Without tableview - yes it not a swipe but it doesn't the trick
override func touchesBegan(_ touches: Set, with event: UIEvent?) { view.endEditing(true) }