by tinybulb.com » Apr 22, 2009 @ 1:03pm
On iPhone keyboard located in separate window which shown over the applicaiton window. To hide the keyboard just get list of windows and remove keyboard window. I am not sure is keyboard window already created when notificaiotn UIKeyboardWillShowNotification throws or no, but it will be good to check this and add handling of keybord hiding on this event. There is only one problem -> such code will written specially for iPhone, so you will miss crossplatform support.