dismiss searchDisplayController with searchbar not working

48 views Asked by At

I try to dismiss the searchDisplayController of my master-detail view. So i tried a lot and googleing around but nothing works for me.

self.searchDisplayController.active = NO;

The situation i have is, that the ui needs to jump to a cell in a table (master view) from the selected detail-view using html-links.

Touching to the link need to update the master-view and scroll to the table-entry and open it's detail-view.

When i'm using the searchbar before and then touch a link everthing works fine but when i'm touch the back button of the detail-view the searchbar and it's overlay is still visible (see image below). Why?

The following message appears:

Snapshotting a view (0x7ff350e67080, UIInputSetHostView) that has not
been rendered at least once requires afterScreenUpdates:YES.

enter image description here

0

There are 0 answers