Difference between revisions of "UIKeyboardPreferencesController"

From iPhone Development Wiki
Jump to: navigation, search
m (Correction.)
(Property Key List: Updated for iOS 9.)
Line 28: Line 28:
 
== Property Key List ==
 
== Property Key List ==
 
{| class="wikitable"
 
{| class="wikitable"
! colspan="3" style="font-weight: bold;" | Index
+
! colspan="4" style="font-weight: bold;" | Index
 
! rowspan="2" style="font-weight: bold;" | Key name
 
! rowspan="2" style="font-weight: bold;" | Key name
 
! rowspan="2" style="font-weight: bold;" | Domain
 
! rowspan="2" style="font-weight: bold;" | Domain
Line 35: Line 35:
 
| style="font-weight: bold;" | iOS 7
 
| style="font-weight: bold;" | iOS 7
 
| style="font-weight: bold;" | iOS 8
 
| style="font-weight: bold;" | iOS 8
 +
| style="font-weight: bold;" | iOS 9
 
|-
 
|-
 +
| 0
 
| 0
 
| 0
 
| 0
 
| 0
Line 42: Line 44:
 
| rowspan="5" | .GlobalPreferences
 
| rowspan="5" | .GlobalPreferences
 
|-
 
|-
 +
| 1
 
| 1
 
| 1
 
| 1
 
| 1
Line 49: Line 52:
 
| 2
 
| 2
 
| 2
 
| 2
| 3
+
| 2
 +
| 2
 
| AppleKeyboardsIncludeIntl
 
| AppleKeyboardsIncludeIntl
 
|-
 
|-
 +
| 3
 
| 3
 
| 3
 
| 3
 
| 3
Line 57: Line 62:
 
| AppleLocale
 
| AppleLocale
 
|-
 
|-
 +
| 4
 
| 4
 
| 4
 
| 4
 
| 4
Line 62: Line 68:
 
| AppleLanguages
 
| AppleLanguages
 
|-
 
|-
 +
| 5
 
| 5
 
| 5
 
| 5
 
| 5
Line 68: Line 75:
 
| rowspan="22" | com.apple.Preferences
 
| rowspan="22" | com.apple.Preferences
 
|-
 
|-
 +
| 6
 
| 6
 
| 6
 
| 6
 
| 6
Line 73: Line 81:
 
| KeyboardEmojiEverywhere
 
| KeyboardEmojiEverywhere
 
|-
 
|-
 +
| 7
 
| 7
 
| 7
 
| 7
 
| 7
Line 78: Line 87:
 
| KeyboardAutocorrection
 
| KeyboardAutocorrection
 
|-
 
|-
 +
| 8
 
| 8
 
| 8
 
| 8
 
| 8
Line 83: Line 93:
 
| KeyboardAutocapitalization
 
| KeyboardAutocapitalization
 
|-
 
|-
 +
| 9
 
| 9
 
| 9
 
| 9
 
| 9
Line 88: Line 99:
 
| KeyboardCheckSpelling
 
| KeyboardCheckSpelling
 
|-
 
|-
 +
| 10
 
| 10
 
| 10
 
| 10
 
| 10
Line 93: Line 105:
 
| KeyboardPeriodShortcut
 
| KeyboardPeriodShortcut
 
|-
 
|-
 +
| 11
 
| 11
 
| 11
 
| 11
 
| 11
Line 98: Line 111:
 
| KeyboardCapsLock
 
| KeyboardCapsLock
 
|-
 
|-
 +
| 12
 
| 12
 
| 12
 
| 12
 
| 12
Line 103: Line 117:
 
| KeyboardLastUsed
 
| KeyboardLastUsed
 
|-
 
|-
 +
| 13
 
| 13
 
| 13
 
| 13
 
| 13
Line 108: Line 123:
 
| KeyboardsCurrentAndNext
 
| KeyboardsCurrentAndNext
 
|-
 
|-
 +
| 14
 
| 14
 
| 14
 
| 14
 
| 14
Line 114: Line 130:
 
|-
 
|-
 
| -
 
| -
 +
| 15
 
| 15
 
| 15
 
| 15
 
| 15
Line 119: Line 136:
 
|-
 
|-
 
| 15
 
| 15
 +
| 16
 
| 16
 
| 16
 
| 16
 
| 16
Line 124: Line 142:
 
|-
 
|-
 
| 16
 
| 16
 +
| 17
 
| 17
 
| 17
 
| 17
 
| 17
Line 129: Line 148:
 
|-
 
|-
 
| 17
 
| 17
 +
| 18
 
| 18
 
| 18
 
| 18
 
| 18
Line 134: Line 154:
 
|-
 
|-
 
| -
 
| -
 +
| 19
 
| 19
 
| 19
 
| 19
 
| 19
Line 139: Line 160:
 
|-
 
|-
 
| -
 
| -
 +
| 20
 
| 20
 
| 20
 
| 20
 
| 20
Line 144: Line 166:
 
|-
 
|-
 
| 18
 
| 18
 +
| 21
 
| 21
 
| 21
 
| 21
 
| 21
Line 149: Line 172:
 
|-
 
|-
 
| 20
 
| 20
 +
| 22
 
| 22
 
| 22
 
| 22
 
| 22
Line 154: Line 178:
 
|-
 
|-
 
| 21
 
| 21
 +
| 23
 
| 23
 
| 23
 
| 23
 
| 23
Line 159: Line 184:
 
|-
 
|-
 
| 22
 
| 22
 +
| 24
 
| 24
 
| 24
 
| 24
 
| 24
Line 164: Line 190:
 
|-
 
|-
 
| 23
 
| 23
 +
| 25
 
| 25
 
| 25
 
| 25
 
| 25
Line 169: Line 196:
 
|-
 
|-
 
| 24
 
| 24
 +
| 26
 
| 26
 
| 26
 
| 26
 
| 26
Line 174: Line 202:
 
|-
 
|-
 
| 25
 
| 25
 +
| 27
 
| 27
 
| 27
 
| 27
 
| 27
Line 180: Line 209:
 
|-
 
|-
 
| 26
 
| 26
 +
| 28
 
| 28
 
| 28
 
| 28
 
| 28
 
| DictationTargetZone
 
| DictationTargetZone
| rowspan="9" | com.apple.Preferences
+
| rowspan="10" | com.apple.Preferences
 
|-
 
|-
 
| 27
 
| 27
 +
| 29
 
| 29
 
| 29
 
| 29
 
| 29
Line 191: Line 222:
 
|-
 
|-
 
| 28
 
| 28
 +
| 30
 
| 30
 
| 30
 
| 30
 
| 30
Line 196: Line 228:
 
|-
 
|-
 
| 29
 
| 29
 +
| 31
 
| 31
 
| 31
 
| 31
 
| 31
Line 201: Line 234:
 
|-
 
|-
 
| 30
 
| 30
 +
| 32
 
| 32
 
| 32
 
| 32
 
| 32
Line 207: Line 241:
 
| -
 
| -
 
| -
 
| -
 +
| 33
 
| 33
 
| 33
 
| KeyboardPredictionHelpMessageCount
 
| KeyboardPredictionHelpMessageCount
Line 212: Line 247:
 
| -
 
| -
 
| -
 
| -
 +
| 34
 
| 34
 
| 34
 
| KeyboardShowPredictionBar
 
| KeyboardShowPredictionBar
Line 217: Line 253:
 
| -
 
| -
 
| -
 
| -
 +
| 35
 
| 35
 
| 35
 
| KeyboardPrediction
 
| KeyboardPrediction
Line 222: Line 259:
 
| -
 
| -
 
| -
 
| -
 +
| 36
 
| 36
 
| 36
 
| KeyboardBias
 
| KeyboardBias
 +
|-
 +
| -
 +
| -
 +
| -
 +
| 37
 +
| KeyboardAllowPaddle
 
|-
 
|-
 
| 31
 
| 31
 
| 34
 
| 34
 
| 37
 
| 37
 +
| 38
 
| DictationKeyAlwaysEnabled
 
| DictationKeyAlwaysEnabled
 
| rowspan="36" | com.apple.keyboard
 
| rowspan="36" | com.apple.keyboard
Line 234: Line 279:
 
| 33
 
| 33
 
| 38
 
| 38
 +
| 39
 
| KeyboardPerformanceLogging
 
| KeyboardPerformanceLogging
 
|-
 
|-
Line 239: Line 285:
 
| 35
 
| 35
 
| 39
 
| 39
 +
| 40
 
| DictationLogging
 
| DictationLogging
 
|-
 
|-
Line 244: Line 291:
 
| 36
 
| 36
 
| 40
 
| 40
 +
| 41
 
| TypologyEnabled
 
| TypologyEnabled
 
|-
 
|-
Line 249: Line 297:
 
| 37
 
| 37
 
| 41
 
| 41
 +
| 42
 
| CostlyCapture
 
| CostlyCapture
 
|-
 
|-
Line 254: Line 303:
 
| 38
 
| 38
 
| 42
 
| 42
 +
| 43
 
| KeyboardDisableSpaceCorrections
 
| KeyboardDisableSpaceCorrections
 
|-
 
|-
Line 259: Line 309:
 
| 39
 
| 39
 
| 43
 
| 43
 +
| 44
 
| KeyboardForceSpaceCorrections
 
| KeyboardForceSpaceCorrections
 
|-
 
|-
 
| 37
 
| 37
 
| 40
 
| 40
 +
| -
 
| -
 
| -
 
| KeyboardAutocorrectionLists
 
| KeyboardAutocorrectionLists
 
|-
 
|-
 
| 38
 
| 38
 +
| -
 
| -
 
| -
 
| -
 
| -
Line 274: Line 327:
 
| 41
 
| 41
 
| 44
 
| 44
 +
| 45
 
| KeyboardRetrocorrectionDisabled
 
| KeyboardRetrocorrectionDisabled
 
|-
 
|-
Line 279: Line 333:
 
| -
 
| -
 
| 45
 
| 45
 +
| 46
 
| KeyboardWordNgramModel
 
| KeyboardWordNgramModel
 
|-
 
|-
Line 284: Line 339:
 
| -
 
| -
 
| 46
 
| 46
 +
| 47
 
| KeyboardWordNgramModelAdaptation
 
| KeyboardWordNgramModelAdaptation
 
|-
 
|-
Line 289: Line 345:
 
| -
 
| -
 
| 47
 
| 47
 +
| 48
 
| KeyboardPredictiveness
 
| KeyboardPredictiveness
 
|-
 
|-
Line 294: Line 351:
 
| -
 
| -
 
| 48
 
| 48
 +
| 49
 
| KeyboardMaxWordsPerPrediction
 
| KeyboardMaxWordsPerPrediction
 
|-
 
|-
Line 299: Line 357:
 
| -
 
| -
 
| 49
 
| 49
 +
| 50
 
| KeyboardCompletionsShouldSharePrefix
 
| KeyboardCompletionsShouldSharePrefix
 
|-
 
|-
Line 304: Line 363:
 
| 42
 
| 42
 
| 50
 
| 50
 +
| 51
 
| KeyboardUserDictionarySyncing
 
| KeyboardUserDictionarySyncing
 
|-
 
|-
Line 309: Line 369:
 
| 43
 
| 43
 
| 51
 
| 51
 +
| 52
 
| KeyboardUserDictionarySyncingWithPropertyList
 
| KeyboardUserDictionarySyncingWithPropertyList
 
|-
 
|-
Line 314: Line 375:
 
| 44
 
| 44
 
| 52
 
| 52
 +
| 53
 
| KeyboardAssetDownloading
 
| KeyboardAssetDownloading
 
|-
 
|-
Line 319: Line 381:
 
| 45
 
| 45
 
| 53
 
| 53
 +
| 54
 
| KeyboardAssetDownloadInFive
 
| KeyboardAssetDownloadInFive
 
|-
 
|-
Line 324: Line 387:
 
| 46
 
| 46
 
| 54
 
| 54
 +
| 55
 
| KeyboardSettingsFromSwitcher
 
| KeyboardSettingsFromSwitcher
 
|-
 
|-
Line 329: Line 393:
 
| 47
 
| 47
 
| 55
 
| 55
 +
| 56
 
| KeyboardSwipeToTab
 
| KeyboardSwipeToTab
 
|-
 
|-
Line 334: Line 399:
 
| 48
 
| 48
 
| 56
 
| 56
 +
| 57
 
| RivenLayoutSize
 
| RivenLayoutSize
 
|-
 
|-
Line 339: Line 405:
 
| 49
 
| 49
 
| 57
 
| 57
 +
| 58
 
| KeyboardRecordingEnabled
 
| KeyboardRecordingEnabled
 
|-
 
|-
Line 344: Line 411:
 
| 50
 
| 50
 
| 58
 
| 58
 +
| 59
 
| UserKeyboardOverlays
 
| UserKeyboardOverlays
 
|-
 
|-
Line 349: Line 417:
 
| 51
 
| 51
 
| 59
 
| 59
 +
| 60
 
| ShowExtraLayouts
 
| ShowExtraLayouts
 
|-
 
|-
 
| 50
 
| 50
 +
| -
 
| -
 
| -
 
| -
 
| -
Line 359: Line 429:
 
| 52
 
| 52
 
| 60
 
| 60
 +
| 61
 
| UsePublicEmojiCodePoints
 
| UsePublicEmojiCodePoints
 
|-
 
|-
Line 364: Line 435:
 
| 53
 
| 53
 
| 61
 
| 61
 +
| 62
 
| KeyboardCachingDisabled
 
| KeyboardCachingDisabled
 
|-
 
|-
 
| 53
 
| 53
 
| 54
 
| 54
 +
| -
 
| -
 
| -
 
| ChineseCompletionUsesNgram
 
| ChineseCompletionUsesNgram
Line 374: Line 447:
 
| 55
 
| 55
 
| 62
 
| 62
 +
| 63
 
| ChinesePinyinAutocorrectionEnabled
 
| ChinesePinyinAutocorrectionEnabled
 
|-
 
|-
Line 379: Line 453:
 
| 56
 
| 56
 
| 63
 
| 63
 +
| 64
 
| HandwritingCaptureEnabled
 
| HandwritingCaptureEnabled
 
|-
 
|-
Line 384: Line 459:
 
| 57
 
| 57
 
| 64
 
| 64
 +
| 65
 
| HandwritingMultipleCharacterRecognitionEnabled
 
| HandwritingMultipleCharacterRecognitionEnabled
 
|-
 
|-
Line 389: Line 465:
 
| 58
 
| 58
 
| 65
 
| 65
 +
| 66
 
| NonLegacyKeyboardEnabled
 
| NonLegacyKeyboardEnabled
 
|-
 
|-
Line 394: Line 471:
 
| 59
 
| 59
 
| 66
 
| 66
 +
| 67
 
| KeyboardGlobeKeyExperiments
 
| KeyboardGlobeKeyExperiments
 
|-
 
|-
Line 399: Line 477:
 
| 60
 
| 60
 
| 67
 
| 67
 +
| 68
 
| KeyboardInProcessInputManagers
 
| KeyboardInProcessInputManagers
 
|-
 
|-
Line 404: Line 483:
 
| -
 
| -
 
| 68
 
| 68
 +
| 69
 
| HardwareKeyboardAutocorrectionEnabled
 
| HardwareKeyboardAutocorrectionEnabled
 
|-
 
|-
Line 409: Line 489:
 
| 61
 
| 61
 
| 69
 
| 69
 +
| 70
 
| FuzzyPinyin
 
| FuzzyPinyin
 
| rowspan="4" | com.apple.InputModePreferences
 
| rowspan="4" | com.apple.InputModePreferences
Line 415: Line 496:
 
| 62
 
| 62
 
| 70
 
| 70
 +
| 71
 
| SuchengCangjie
 
| SuchengCangjie
 
|-
 
|-
Line 420: Line 502:
 
| 63
 
| 63
 
| 71
 
| 71
 +
| 72
 
| FuzzyPinyinPairs
 
| FuzzyPinyinPairs
 
|-
 
|-
Line 425: Line 508:
 
| 64
 
| 64
 
| 72
 
| 72
 +
| 73
 
| SpaceConfirmation
 
| SpaceConfirmation
 
|-
 
|-
Line 430: Line 514:
 
| -
 
| -
 
| 73
 
| 73
 +
| -
 
| PredictiveUISettings
 
| PredictiveUISettings
 
| com.apple.Preferences
 
| com.apple.Preferences

Revision as of 11:49, 20 May 2016

UIKeyboardPreferencesController is an undocumented Class for setting and and getting various common and private keyboard properties. The property keys type is integer, representing the index for each string key in a constant array existing in the UIKit or TextInput binary. Tables below show each property key name, sorted by index, and domain handling the key.

Methods

Signature + (UIKeyboardPreferencesController *)sharedPreferencesController;
Available in 5.0 —

A singleton for this class.

Signature - (id)valueForKey:(NSInteger)key;
Available in 5.0 —

-[UIKeyboardPreferencesController valueForKey:] returns value from property key.

Signature - (BOOL)boolForKey:(NSInteger)key;
Available in 5.0 —

-[UIKeyboardPreferencesController boolForKey:] returns boolean value from property key.

Signature - (void)setValue:(id)value forKey:(NSInteger)key;
Available in 5.0 —

-[UIKeyboardPreferencesController setValue:forKey:] is used for setting value for property key.

Property Key List

Index Key name Domain
iOS 6 iOS 7 iOS 8 iOS 9
0 0 0 0 AppleKeyboards .GlobalPreferences
1 1 1 1 AppleKeyboardsExpanded
2 2 2 2 AppleKeyboardsIncludeIntl
3 3 3 3 AppleLocale
4 4 4 4 AppleLanguages
5 5 5 5 KeyboardSpoofSoftBank com.apple.Preferences
6 6 6 6 KeyboardEmojiEverywhere
7 7 7 7 KeyboardAutocorrection
8 8 8 8 KeyboardAutocapitalization
9 9 9 9 KeyboardCheckSpelling
10 10 10 10 KeyboardPeriodShortcut
11 11 11 11 KeyboardCapsLock
12 12 12 12 KeyboardLastUsed
13 13 13 13 KeyboardsCurrentAndNext
14 14 14 14 KeyboardLastUsedForLanguage
- 15 15 15 KeyboardLayoutLastUsedForKeyboard
15 16 16 16 KeyboardLastChosen
16 17 17 17 KeyboardDisplayType
17 18 18 18 KeyboardHardwareKeyboardsSeen
- 19 19 19 HardwareKeyboardLastSeen
- 20 20 20 SoftwareKeyboardShownByTouch
18 21 21 21 AutomaticMinimizationEnabled
20 22 22 22 UIKeyboardPersistentVerticalOffset
21 23 23 23 UIKeyboardPersistentHorizontalOffset
22 24 24 24 UIKeyboardPersistentSplitProgress
23 25 25 25 UIKeyboardPersistentSplitLock
24 26 26 26 UIKeyboardDidShowInternationalInfoAlert
25 27 27 27 EmojiDefaultsKey com.apple.EmojiPreferences
26 28 28 28 DictationTargetZone com.apple.Preferences
27 29 29 29 DictationVerticalOffset
28 30 30 30 DictationHorizontalOffset
29 31 31 31 KeyboardCellularNetworkAccess
30 32 32 32 RivenKeyboard
- - 33 33 KeyboardPredictionHelpMessageCount
- - 34 34 KeyboardShowPredictionBar
- - 35 35 KeyboardPrediction
- - 36 36 KeyboardBias
- - - 37 KeyboardAllowPaddle
31 34 37 38 DictationKeyAlwaysEnabled com.apple.keyboard
19 33 38 39 KeyboardPerformanceLogging
32 35 39 40 DictationLogging
33 36 40 41 TypologyEnabled
34 37 41 42 CostlyCapture
35 38 42 43 KeyboardDisableSpaceCorrections
36 39 43 44 KeyboardForceSpaceCorrections
37 40 - - KeyboardAutocorrectionLists
38 - - - KeyboardExtendedAutocorrectionLearningDisabled
39 41 44 45 KeyboardRetrocorrectionDisabled
- - 45 46 KeyboardWordNgramModel
- - 46 47 KeyboardWordNgramModelAdaptation
- - 47 48 KeyboardPredictiveness
- - 48 49 KeyboardMaxWordsPerPrediction
- - 49 50 KeyboardCompletionsShouldSharePrefix
40 42 50 51 KeyboardUserDictionarySyncing
41 43 51 52 KeyboardUserDictionarySyncingWithPropertyList
42 44 52 53 KeyboardAssetDownloading
43 45 53 54 KeyboardAssetDownloadInFive
44 46 54 55 KeyboardSettingsFromSwitcher
45 47 55 56 KeyboardSwipeToTab
46 48 56 57 RivenLayoutSize
47 49 57 58 KeyboardRecordingEnabled
48 50 58 59 UserKeyboardOverlays
49 51 59 60 ShowExtraLayouts
50 - - - UITextMagnifierMethod
51 52 60 61 UsePublicEmojiCodePoints
52 53 61 62 KeyboardCachingDisabled
53 54 - - ChineseCompletionUsesNgram
54 55 62 63 ChinesePinyinAutocorrectionEnabled
- 56 63 64 HandwritingCaptureEnabled
- 57 64 65 HandwritingMultipleCharacterRecognitionEnabled
- 58 65 66 NonLegacyKeyboardEnabled
- 59 66 67 KeyboardGlobeKeyExperiments
- 60 67 68 KeyboardInProcessInputManagers
- - 68 69 HardwareKeyboardAutocorrectionEnabled
55 61 69 70 FuzzyPinyin com.apple.InputModePreferences
56 62 70 71 SuchengCangjie
57 63 71 72 FuzzyPinyinPairs
58 64 72 73 SpaceConfirmation
- - 73 - PredictiveUISettings com.apple.Preferences