ios - UISearchController "manual" search UI glitch -


we're migrating uisearchdisplaycontroller uisearchcontroller, 1 feature used work misbehaving bit , i'm wondering if we're not using api intended.

we have uitableviewcontroller uses uisearchcontroller , separate results controller display results, on cases when user clicks on cell in original table want invoke uisearchcontroller , populate search field predefined text.

there's kind of ui glitch didn't have when used uisearchdisplaycontroller

the code used manually invoke search controller is:

[self.providersearchresultscontroller.searchbar becomefirstresponder]; [self.providersearchresultscontroller.searchbar settext:providername]; 

i couldn't find official in apple documentation.

i believe following link might https://github.com/rnystrom/uitableviewcontroller-containment-demo


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -