Re: iOS: Calling up numeric keypad
Re: iOS: Calling up numeric keypad
- Subject: Re: iOS: Calling up numeric keypad
- From: Jon Sigman <email@hidden>
- Date: Tue, 22 Feb 2011 15:18:46 -0800 (PST)
That's awesome. I never knew you could do that. Works great! Thanks Conrad and
Laurent!
________________________________
From: Conrad Shultz <email@hidden>
To: Laurent Daudelin <email@hidden>
Cc: Jon Sigman <email@hidden>; email@hidden
Sent: Tue, February 22, 2011 1:06:40 PM
Subject: Re: iOS: Calling up numeric keypad
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/22/11 12:56 PM, Laurent Daudelin wrote:
> I'm surprised nobody replied to this yet. Open the interface file in
> Interface Builder. Set the keyboard for that UITextField to use the
> numeric keyboard. Then, each time the user touches the textfield, the
> numeric keyboard will show up.
Beat me to it... I was waiting to get back to IB to verify what the
setting was called. :-)
Also, in the event that you need to do this in code, you can set the
keyboardType property appropriately.
This property (and others) are defined in the UITextInputTraits
protocol, found in the header of the same name.
- --
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFNZCVfaOlrz5+0JdURAoXBAJ9Fhl7fGpT8pIg14k8+SzZoVH5d5wCdEXrs
zhTG6HsjNloUSq9ybExKlPg=
=mSiR
-----END PGP SIGNATURE-----
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden