Table 1 lists the keys that may be placed in a dictionary that is associated with the PSTextFieldSpecifier
type.
Key | Value type | Value |
---|---|---|
| String | The value of this key is always set to This key is required. |
| String | The string displayed to the left of the text field’s value. This string is drawn left aligned and in bold face. If you omit this key, the editable text field spans the width of the row. The value of this key is localizable. |
| String | The preference key with which to associate the value. This is the string you use this to retrieve the preference value in your code. This key is required. |
| String | The default value for the preference key. This value is returned when the specified preferences key (represented by the |
| Boolean | If Yes, the text field is a password-entry text field, which replaces the typed text with bullet characters. If No, the text field is a standard text field that displays the typed text. If this key is not present, the default is No. |
| String | The type of keyboard to display to the user. This value must contain one of the following strings: If this key is not present, the default value is |
| String | The auto-capitalization style to apply to typed text. This value must contain one of the following strings: If this key is not present, the default value is |
| String | The auto-correction style to apply when typing. This value must contain one of the following strings: If this key is not present, the default value is |
For more information about the keyboards, auto-capitalization, and auto-correction options used by text fields, see the constants defined in UITextInputTraits Protocol Reference.
Last updated: 2010-04-27