forum

Home / DeveloperSection / Forums / How to dismiss keyboard using UISearchBar in Objective-C?

How to dismiss keyboard using UISearchBar in Objective-C?

Anonymous User222105-Feb-2016

I am using UISearchBar and UITableView in our iPhone application as a contact application. I am using results of searchbar into the uitableview and when I tap on any cell I will move to another view to display details of related item (cell content). I want to dismiss the keyboard when I tap outside the searchbar. So I am using UITapGestureRecognizer to dismiss the keyboard, but now another problem is created with the table cell. When I tap on the table cell to move another view controller its not working?

So please suggest me what to do to solve this issue!

Thank you.


Updated on 05-Feb-2016
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By