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

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -