Re: iOS: Calling up numeric keypad
Re: iOS: Calling up numeric keypad
- Subject: Re: iOS: Calling up numeric keypad
- From: Conrad Shultz <email@hidden>
- Date: Tue, 22 Feb 2011 13:06:40 -0800
-----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