• 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: Manipluate Cocoa Touch keyboard mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manipluate Cocoa Touch keyboard mode


  • Subject: Re: Manipluate Cocoa Touch keyboard mode
  • From: Yandy Ramirez <email@hidden>
  • Date: Sun, 18 Oct 2009 15:08:17 -0400

well I'm assuming if the user hits return, then you want the keyboard to disappear, not stay on screen. Look up in the documentation
UITextFieldDelegate protocol, and a method textFieldShouldReturn, this will hide the keyboard. Assuming that you want the keyboard to disappear from screen. This makes more sense than keeping it on screen once return is hit.



------ yandy

On Oct 18, 2009, at 3:00 PM, Tron Thomas wrote:

I found the setting in Interface Builder. This works in that the keyboard initially appears in numeric mode. However, when someone presses the return key, the keyboard switches to letter mode. How can someone prevent this behavior?

Yandy Ramirez wrote:
numbers and punctuation in IB textfield properties for keyboard type


------ yandy

On Oct 17, 2009, at 8:53 PM, Tron Thomas wrote:

When an UITextField becomes active in a Cocoa Touch application, the device automatically displays a keyboard for character input. The keyboard always appears in alphabet mode so letters can be typed.

I have an application containing a singular UITextField that is intended for entering numeric data. I would like the keyboard to come up in numeric mode and stay in that mode unless the user click the button to toggle to letter mode, even if they press the return key.

How can someone accomplish this keyboard behavior?

_______________________________________________

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





_______________________________________________

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: 
 >Manipluate Cocoa Touch keyboard mode (From: Tron Thomas <email@hidden>)
 >Re: Manipluate Cocoa Touch keyboard mode (From: Yandy Ramirez <email@hidden>)
 >Re: Manipluate Cocoa Touch keyboard mode (From: Tron Thomas <email@hidden>)

  • Prev by Date: Re: Why does my font come out looking fuzzy?
  • Next by Date: Re: Curious about SSH --> actually about: Keychain
  • Previous by thread: Re: Manipluate Cocoa Touch keyboard mode
  • Next by thread: Why does my font come out looking fuzzy?
  • Index(es):
    • Date
    • Thread