ios - UISearchbar do something before the keyboard shows up -


i'm having uisearchbar. when click on searchbar keyboard shows up.

i need before keyboard shows up. changes in layout.

so there way before keyboard shows up?

i thought maybe doesn't work:

-(bool)searchbarshouldbeginediting:(uisearchbar *)searchbar {     [_searchbar resignfirstresponder];      return yes; } 

but keyboard doesn't hide.

any 1 suggestions?

you can ui changes in searchbarshouldbeginediting before returning yes or no. if dont want show keyboard return no.

-(bool)searchbarshouldbeginediting:(uisearchbar *)searchbar {    // changes in ui      return yes; } 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -