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.

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                              
[email protected]

On Feb 22, 2011, at 10:42, Jon Sigman wrote:

> I have a UITextField that should accept only numerics. Is there a way to set 
> the 
> textfield so that when the user touches it, the numeric keypad comes up 
> instead 
> of the alpha keypad? iOS 4.2.1

_______________________________________________

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