From: Arno P. <ar...@pu...> - 2010-02-21 19:09:48
|
getting rid of the keyboard on the iPhone is a little tricky. The method you have described (resigning as the responder) seems to be the official way of doing it. We haven't mapped this functionality yet, so that is why you have a hard time getting it to work with XMLVM. Here is a tutorial from Apple that explains how to do it: http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhone101/Articles/06_ImplementingController.html#//apple_ref/doc/uid/TP40007514-CH8-SW1 We would basically need a mapping of the API described on that page. Arno On 2/17/10 5:30 PM, Josh Lange wrote: > Hello, > I've been playing with XMLVM for a few days now, and with the help of the included sample code, I've got a basic UI with a couple of buttons and a text field working. When I tap in the text field, the keyboard pops up and works fine, but I can't get rid of it when hit the return key. From what I've read, it looks like UITextField.resignFirstResponder() might do the trick, but I'm not sure where I should be calling it from. I've tried overriding UITextField.KeyTyped and calling this.resignFirstResponder() from there, but I haven't gotten it to do anything yet. I've looked at the various delegates that are available, but none of them seem directly related to this. I saw the UIControlEvent class has the property EditingDidEnd in it, which also seems to be related from what I've read, but again, I'm not sure where to use it. If someone could explain how to close the keyboard, or tell me if that's absolutely not possible with the current version of XMLVM, it would be much appreciated. Thanks, Josh. > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |