Interactive swipe to dismiss keyboard

Is there an equivalent of UIScrollView.KeyboardDismissMode that can be used to get the behavior where you swipe down to dismiss the keyboard?