objective c - How can I interact with "iPad keyboard hiding button" programmatically? -


there button @ bottom right of ipad keyboard hide keypad.

enter image description here

how can interact programmatically? (get button send uicontroleventtouchupinside it).

does know this?

[edit] in case, keyboard shown on modal view.

overriding disablesautomatickeyboarddismissal return no below allows dismiss keyboard when resignfirstresponder, when uitextview on modal view. should put code view controller, initiate keyboard:

- (bool)disablesautomatickeyboarddismissal {     return no; } 

source: https://stackoverflow.com/a/6268520


Comments