UIViewController

extension UIViewController
  • Adds a tap gesture recognizer to the view to dismiss the keyboard.

    Declaration

    Swift

    func addKeyboardDismissal()