Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UIKBTree - iPhone Development Wiki

UIKBTree

From iPhone Development Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

UIKBTree is an undocumented class as of iOS 5.0 which represents iOS keyboard elements such as character key, shift key, delete key, language switch key and so on.

Types

More than one classification Apple has made to UIKBTree, here are known:

Generic Types

The list is determined by the method +[UIKBTree_Compile stringEnumForType:]

This kind of type is specified when creating an instance of UIKBTree: UIKBTree *tree = [[UIKBTree alloc] initWithType:genericType]

Type String Enumeration Availability
1 UIKBTreeTypeKeyboard
2 UIKBTreeTypeKeyplane
3 UIKBTreeTypeKeylayout
4 UIKBTreeTypeKeySet
5 UIKBTreeTypeGeometrySet
6 UIKBTreeTypeAttributeSet
7 UIKBTreeTypeList
8 UIKBTreeTypeKey
9 UIKBTreeTypeShape
10 UIKBTreeTypeAttributes
11 UIKBTreeTypeIdentifiers
12 UIKBTreeTypeAdaptiveKey iOS 7.0+
13 UIKBTreeTypeMergePolicy iOS 8.0+

Display Types

The list is determined by the private C function NSInteger displayTypeFromString(NSString *)

The display type is a property of any UIKBTree instance: @property(assign) NSInteger displayType

Display type String representation Availability
iOS 5.0 - 8.3 iOS 9.0+
0 String
1 CandidateList
2 Command
3 Delete
4 Dictation
5 Dismiss
6 Drag
7 DualString
8 DynamicString
9 Emoji
10 TenKeyKeyplaneSwitchOff
11 TenKeyKeyplaneSwitchOn
12 Handwriting
13 International
14 KeyplaneSwitch
15 LeftDarkAndNoRightDivider
16 LightBottom
17 LightBottomAndRight
18 More
19 NoRightDivider
20 NumberPad
21 Return
22 ReverseVerticalDark
23 Shift
24 SmallKana
25 Space
26 Tab
27 Top-Level-Domain
28 Top-Level-Domain-Variant
29 TwoVerticalDark
30 TwoVerticalLight
31 VoicedKey
32 MultitapComplete
33 MultitapReverse
34 WALongVowelSign
35 TenKeyRoman
36 EmojiInputView iOS 6.0+
37 EmojiCategoryControl iOS 6.0+
38 Letter-Line iOS 8.0+
39 Bold iOS 8.0+
40 Italic iOS 8.0+
41 Underline iOS 8.0+
42 Cut iOS 8.0+
43 Copy iOS 8.0+
44 Paste iOS 8.0+
45 LeftArrow iOS 8.0+
46 RightArrow iOS 8.0+
47 PredictionActive iOS 8.0+
- 48 UCBSelectionBackground iOS 9.0+
48 49 BIU iOS 8.3+
49 50 Divider iOS 8.3+
- 51 Caps-Lock iOS 9.0+
- 52 Dictation-Display iOS 9.3+
- 53 MessageWriteboard iOS 10.0+

Interaction Types

The list is determined by the private C function NSInteger interactionTypeFromString(NSString *)

The interaction type is a property of any UIKBTree instance: @property(assign) NSInteger interactionType

Display type String representation Availability
0 None
1 String
2 Popup
3 CandidateList
4 Delete
5 Dictation
6 Dismiss
7 Drag
8 Handwriting
9 International
10 KeyplaneSwitch
11 More
12 Redo
13 Return
14 Shift
15 Space
16 Flick
17 Undo
18 EmojiInputView iOS 6.0+
19 EmojiCategoryControl iOS 6.0+
20 MultitapComplete iOS 7.0+
21 MultitapReverse iOS 7.0+
22 RecentInput iOS 7.0+
23 Clear iOS 7.0+
24 RevealHiddenCandidates iOS 7.0+
25 SelectNextCandidate iOS 7.0+
26 SelectPreviousCandidate iOS 7.0+
27 AcceptAutocorrection* iOS 7.0+
28 Bold iOS 8.0+
29 Italic iOS 8.0+
30 Underline iOS 8.0+
31 Cut iOS 8.0+
32 Copy iOS 8.0+
33 Paste iOS 8.0+
34 LeftArrow iOS 8.0+
35 RightArrow iOS 8.0+
36 AssertLayoutTag iOS 8.0+
37 Tab iOS 9.0+
38 Caps-Lock iOS 9.0+
39 Dictation-Display iOS 9.3+
40 MessageWriteboard iOS 10.0+

Note (*): It was AcceptAutoCorrection prior to iOS 8.0