how to add Done Button to dismiss the Number Pad

Posted by mac on Stack Overflow See other posts from Stack Overflow or by mac
Published on 2010-06-12T06:46:46Z Indexed on 2010/06/12 6:52 UTC
Read the original article Hit count: 259

I followed the tutorial

http://www.neoos.ch/news/46-development/54-uikeyboardtypenumberpad-and-the-missing-return-key

to dismiss the number pad, this tutorial add the button as sub view to the number pad,

my problem is, in the same view i am using the text field to enter text also,so, how to differentiate the number field, and text field. so that i can hide the button view accordingly.

thanks in advance.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone-sdk