-----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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to