Example of UITextField ResignFirstResponder with Monotouch

Posted by kentakhy on Stack Overflow See other posts from Stack Overflow or by kentakhy
Published on 2010-03-16T11:31:15Z Indexed on 2010/03/16 11:36 UTC
Read the original article Hit count: 1693

I'm a newbie. I can't figure out how and where to call ResignFirstResponder to get rid of the keyboard when the user finished entering the text in an UITextField. I'm a bit confused by the UIResponder class. Mono documentation says: "To dismiss the keyboard, send the UIResponder.ResignFirstResponder message to the text field that is currently the first responder." How to do so? Can someone post a simple working example? There are many examples in Obj-C but none in C#. Many thanks.

© Stack Overflow or respective owner

Related posts about uitextfield

Related posts about uiresponder