How can I make the keyboard disappear after entering the text ?

Posted by srikanth rongali on Stack Overflow See other posts from Stack Overflow or by srikanth rongali
Published on 2010-04-21T06:13:45Z Indexed on 2010/04/21 6:23 UTC
Read the original article Hit count: 199

I have two text fields in my view. I did it using IB. My problems are

  1. After entering the text in textField1 I am entering text in textField2. When I click in textField1 again the previous text is disappeared in the textField1.

  2. After entering the text in both the textFields, I need the keyboard to disappear. But, even I touched the return key in the keyboard layout or I touched the screen outside the text field the keyboard is not disappearing.

How can I make this. Thank you.

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about iphone-sdk