Skip to content

A small Swift Library for hiding keyboard when user tapped anywhere in UIViewcontroller.🎯🎯

License

Notifications You must be signed in to change notification settings

Shritesh99/HideKeyboardWhenTappedAround

Repository files navigation

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

About

A small Swift Library for hiding keyboard when user tapped anywhere in UIViewcontroller.🎯🎯

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published