Created
April 5, 2015 01:40
-
-
Save jacks205/a437750d52fbed65772d to your computer and use it in GitHub Desktop.
Resigning keyboard when using a searchbar and a tableview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func scrollViewWillBeginDragging(scrollView: UIScrollView) { | |
self.searchBar.resignFirstResponder() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment