Commit 5c1677a9 by Javier Heisekce

Borra reimplementacion de cancel button

parent 8abc574c
......@@ -160,12 +160,6 @@ extension ContactsViewController: UISearchBarDelegate, UISearchDisplayDelegate,
self.searchBar.resignFirstResponder()
}
func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
self.searchBar.text = ""
self.searchBarTextDidEndEditing(searchBar)
self.searchBar.resignFirstResponder()
}
func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
print(searchText)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment