Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 708 Bytes

README.md

File metadata and controls

28 lines (26 loc) · 708 Bytes

HideKeyboardWhenTappedAround 🎯🎯

A small Swift Framework for hiding keyboard when the user tapped anywhere in UIViewcontroller.

Installtion

 pod 'HideKeyboardWhenTappedAround'

Screenshot

ss

Usage

  • Import HideKeyboardWhenTappedAround in only one UIViewController.
import HideKeyboardWhenTappedAround
  • Call function hideKeyboardWhenTappedAround() in UIViewController's viewDidLoad()
override func viewDidLoad() {
        super.viewDidLoad()
        // Hide Keyboard when Taped around
        hideKeyboardWhenTappedAround()
        ...
}

LICENSE

MIT