readme for hideKeyboardWhenTappedAround

This commit is contained in:
Goktug Yilmaz 2016-03-20 16:43:44 +02:00
parent 52789a5fd2
commit 23e7f83c94
1 changed files with 9 additions and 0 deletions

View File

@ -498,6 +498,15 @@ override func viewDidAppear(animated: Bool) {
dismissVC(completion: nil) // Instead of dismissViewControllerAnimated(true, completion: completion)}
```
Easily hide the keyboard when user taps around the UIViewController:
```swift
override func viewDidLoad() {
super.viewDidLoad()
self.hideKeyboardWhenTappedAround()
}
```
Easily add UIViewControllers:
``` swift