views:

934

answers:

2

I have a UITextField where the keyboard that pops up has its shift key disabled. The keyboard type is set to UIKeyboardTypeNamePhonePad, which seems like it should allow capitals. If I change the keyboard type to "default" but leave other settings alone, the shift key is active. The other settings are: autocapitalization and autocorrection off, default appearance, return key "done", and I'm running iPhone OS 2.2. Has anyone seen this? I don't understand why the "name phone pad" type would disable the shift key.

+1  A: 

In Interface Builder (and in code) you can specify that the field has all characters capitalized. Do you have it set like this?

August
A: 

No, the "capitalize" pop-up is set to "none". Although it just says "capitalize", this is the auto-capitalize setting (autocapitalizationType, in UITextInputTraits). In this situation I have it turned off for both keyboard types.

Tom Harrington