• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iOS: Calling up numeric keypad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iOS: Calling up numeric keypad (From: Jon Sigman <email@hidden>)
 >Re: iOS: Calling up numeric keypad (From: Laurent Daudelin <email@hidden>)
 >Re: iOS: Calling up numeric keypad (From: Conrad Shultz <email@hidden>)

  • Prev by Date: Re: Trouble retrieving selection from NSArrayController
  • Next by Date: Re: Trouble retrieving selection from NSArrayController
  • Previous by thread: Re: iOS: Calling up numeric keypad
  • Next by thread: Trouble retrieving selection from NSArrayController
  • Index(es):
    • Date
    • Thread