I have a problem with my UISearchDisplayController
.
My view is build with a tableview
and a uisearchdisplaycontroller
on it.
When the user tap on the search bar (that is displayed inside the navigation bar) it opens and shows the suggestions (that are fetched via json
).
When the user performs the search, tapping on "search" via the keyboard I need that when he taps on a result (that is on the table but with different cell style and identifier) the tap is recognized by the searchdisplaycontroller
but not by my app code.
Notice that didSelectRowAtIndexPath:
is not called when tapping, but instead my app shows again the search bar in editing mode.
How can I disable this behaviour?