(UIKeyboardPreferencesController) |
(→Property Key List: Combined lists.) |
||
Line 27: | Line 27: | ||
== Property Key List == | == Property Key List == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Integer | ! colspan="3" style="font-weight: bold;" | Integer | ||
! Key name | ! rowspan="2" style="font-weight: bold;" | Key name | ||
! Domain | ! rowspan="2" style="font-weight: bold;" | Domain | ||
|- | |||
| style="font-weight: bold;" | iOS 6 | |||
| style="font-weight: bold;" | iOS 7 | |||
| style="font-weight: bold;" | iOS 8 | |||
|- | |- | ||
| 0 | |||
| 0 | |||
| 0 | | 0 | ||
| AppleKeyboards | | AppleKeyboards | ||
| rowspan="5" | .GlobalPreferences | | rowspan="5" | .GlobalPreferences | ||
|- | |- | ||
| 1 | |||
| 1 | |||
| 1 | | 1 | ||
| AppleKeyboardsExpanded | | AppleKeyboardsExpanded | ||
|- | |- | ||
| 2 | | 2 | ||
| 2 | |||
| 3 | |||
| AppleKeyboardsIncludeIntl | | AppleKeyboardsIncludeIntl | ||
|- | |- | ||
| 3 | |||
| 3 | |||
| 3 | | 3 | ||
| AppleLocale | | AppleLocale | ||
|- | |- | ||
| 4 | |||
| 4 | |||
| 4 | | 4 | ||
| AppleLanguages | | AppleLanguages | ||
|- | |- | ||
| 5 | |||
| 5 | |||
| 5 | | 5 | ||
| KeyboardSpoofSoftBank | | KeyboardSpoofSoftBank | ||
| rowspan=" | | rowspan="22" | com.apple.Preferences | ||
|- | |- | ||
| 6 | |||
| 6 | |||
| 6 | | 6 | ||
| KeyboardEmojiEverywhere | | KeyboardEmojiEverywhere | ||
|- | |- | ||
| 7 | |||
| 7 | |||
| 7 | | 7 | ||
| KeyboardAutocorrection | | KeyboardAutocorrection | ||
|- | |- | ||
| 8 | |||
| 8 | |||
| 8 | | 8 | ||
| KeyboardAutocapitalization | | KeyboardAutocapitalization | ||
|- | |- | ||
| 9 | |||
| 9 | |||
| 9 | | 9 | ||
| KeyboardCheckSpelling | | KeyboardCheckSpelling | ||
|- | |- | ||
| 10 | |||
| 10 | |||
| 10 | | 10 | ||
| KeyboardPeriodShortcut | | KeyboardPeriodShortcut | ||
|- | |- | ||
| 11 | |||
| 11 | |||
| 11 | | 11 | ||
| KeyboardCapsLock | | KeyboardCapsLock | ||
|- | |- | ||
| 12 | |||
| 12 | |||
| 12 | | 12 | ||
| KeyboardLastUsed | | KeyboardLastUsed | ||
|- | |- | ||
| 13 | |||
| 13 | |||
| 13 | | 13 | ||
| KeyboardsCurrentAndNext | | KeyboardsCurrentAndNext | ||
|- | |- | ||
| 14 | |||
| 14 | |||
| 14 | | 14 | ||
| KeyboardLastUsedForLanguage | | KeyboardLastUsedForLanguage | ||
|- | |||
| - | |||
| 15 | |||
| 15 | |||
| KeyboardLayoutLastUsedForKeyboard | |||
|- | |- | ||
| 15 | | 15 | ||
| 16 | |||
| 16 | |||
| KeyboardLastChosen | | KeyboardLastChosen | ||
|- | |- | ||
| 16 | | 16 | ||
| 17 | |||
| 17 | |||
| KeyboardDisplayType | | KeyboardDisplayType | ||
|- | |- | ||
| 17 | | 17 | ||
| 18 | |||
| 18 | |||
| KeyboardHardwareKeyboardsSeen | | KeyboardHardwareKeyboardsSeen | ||
|- | |||
| - | |||
| 19 | |||
| 19 | |||
| HardwareKeyboardLastSeen | |||
|- | |||
| - | |||
| 20 | |||
| 20 | |||
| SoftwareKeyboardShownByTouch | |||
|- | |- | ||
| 18 | | 18 | ||
| 21 | |||
| 21 | |||
| AutomaticMinimizationEnabled | | AutomaticMinimizationEnabled | ||
|- | |- | ||
| 20 | | 20 | ||
| 22 | |||
| 22 | |||
| UIKeyboardPersistentVerticalOffset | | UIKeyboardPersistentVerticalOffset | ||
|- | |- | ||
| 21 | | 21 | ||
| 23 | |||
| 23 | |||
| UIKeyboardPersistentHorizontalOffset | | UIKeyboardPersistentHorizontalOffset | ||
|- | |- | ||
| 22 | | 22 | ||
| 24 | |||
| 24 | |||
| UIKeyboardPersistentSplitProgress | | UIKeyboardPersistentSplitProgress | ||
|- | |- | ||
| 23 | | 23 | ||
| 25 | |||
| 25 | |||
| UIKeyboardPersistentSplitLock | | UIKeyboardPersistentSplitLock | ||
|- | |- | ||
| 24 | | 24 | ||
| 26 | |||
| 26 | |||
| UIKeyboardDidShowInternationalInfoAlert | | UIKeyboardDidShowInternationalInfoAlert | ||
|- | |- | ||
| 25 | | 25 | ||
| 27 | |||
| 27 | |||
| EmojiDefaultsKey | | EmojiDefaultsKey | ||
| com.apple.EmojiPreferences | | com.apple.EmojiPreferences | ||
|- | |- | ||
| 26 | | 26 | ||
| 28 | |||
| 28 | |||
| DictationTargetZone | | DictationTargetZone | ||
| rowspan=" | | rowspan="9" | com.apple.Preferences | ||
|- | |- | ||
| 27 | | 27 | ||
| 29 | |||
| 29 | |||
| DictationVerticalOffset | | DictationVerticalOffset | ||
|- | |- | ||
| 28 | | 28 | ||
| 30 | |||
| 30 | |||
| DictationHorizontalOffset | | DictationHorizontalOffset | ||
|- | |- | ||
| 29 | | 29 | ||
| 31 | |||
| 31 | |||
| KeyboardCellularNetworkAccess | | KeyboardCellularNetworkAccess | ||
|- | |- | ||
| 30 | | 30 | ||
| 32 | |||
| 32 | |||
| RivenKeyboard | | RivenKeyboard | ||
|- | |||
| - | |||
| - | |||
| 33 | |||
| KeyboardPredictionHelpMessageCount | |||
|- | |||
| - | |||
| - | |||
| 34 | |||
| KeyboardShowPredictionBar | |||
|- | |||
| - | |||
| - | |||
| 35 | |||
| KeyboardPrediction | |||
|- | |||
| - | |||
| - | |||
| 36 | |||
| KeyboardBias | |||
|- | |- | ||
| 31 | | 31 | ||
| 34 | |||
| 37 | |||
| DictationKeyAlwaysEnabled | | DictationKeyAlwaysEnabled | ||
| rowspan=" | | rowspan="27" | com.apple.keyboard | ||
|- | |||
| 19 | |||
| 33 | |||
| 38 | |||
| KeyboardPerformanceLogging | |||
|- | |- | ||
| 32 | | 32 | ||
| 35 | |||
| 39 | |||
| DictationLogging | | DictationLogging | ||
|- | |- | ||
| 33 | | 33 | ||
| 36 | |||
| 40 | |||
| TypologyEnabled | | TypologyEnabled | ||
|- | |- | ||
| 34 | | 34 | ||
| 37 | |||
| 41 | |||
| CostlyCapture | | CostlyCapture | ||
|- | |- | ||
| 35 | | 35 | ||
| 38 | |||
| 42 | |||
| KeyboardDisableSpaceCorrections | | KeyboardDisableSpaceCorrections | ||
|- | |- | ||
| 36 | | 36 | ||
| 39 | |||
| 43 | |||
| KeyboardForceSpaceCorrections | | KeyboardForceSpaceCorrections | ||
|- | |- | ||
| 37 | | 37 | ||
| 40 | |||
| - | |||
| KeyboardAutocorrectionLists | | KeyboardAutocorrectionLists | ||
|- | |- | ||
| 38 | | 38 | ||
| - | |||
| - | |||
| KeyboardExtendedAutocorrectionLearningDisabled | | KeyboardExtendedAutocorrectionLearningDisabled | ||
|- | |- | ||
| 39 | | 39 | ||
| 41 | |||
| 44 | |||
| KeyboardRetrocorrectionDisabled | | KeyboardRetrocorrectionDisabled | ||
|- | |||
| - | |||
| - | |||
| 45 | |||
| KeyboardWordNgramModel | |||
|- | |||
| - | |||
| - | |||
| 46 | |||
| KeyboardWordNgramModelAdaptation | |||
|- | |||
| - | |||
| - | |||
| 47 | |||
| KeyboardPredictiveness | |||
|- | |||
| - | |||
| - | |||
| 48 | |||
| KeyboardMaxWordsPerPrediction | |||
|- | |||
| - | |||
| - | |||
| 49 | |||
| KeyboardCompletionsShouldSharePrefix | |||
|- | |- | ||
| 40 | | 40 | ||
| 42 | |||
| 50 | |||
| KeyboardUserDictionarySyncing | | KeyboardUserDictionarySyncing | ||
|- | |- | ||
| 41 | | 41 | ||
| 43 | |||
| 51 | |||
| KeyboardUserDictionarySyncingWithPropertyList | | KeyboardUserDictionarySyncingWithPropertyList | ||
|- | |- | ||
| 42 | | 42 | ||
| 44 | |||
| 52 | |||
| KeyboardAssetDownloading | | KeyboardAssetDownloading | ||
|- | |- | ||
| 43 | | 43 | ||
| 45 | |||
| 53 | |||
| KeyboardAssetDownloadInFive | | KeyboardAssetDownloadInFive | ||
|- | |- | ||
| 44 | | 44 | ||
| 46 | |||
| 54 | |||
| KeyboardSettingsFromSwitcher | | KeyboardSettingsFromSwitcher | ||
|- | |- | ||
| 45 | | 45 | ||
| 47 | |||
| 55 | |||
| KeyboardSwipeToTab | | KeyboardSwipeToTab | ||
|- | |- | ||
| 46 | | 46 | ||
| 48 | |||
| 56 | |||
| RivenLayoutSize | | RivenLayoutSize | ||
|- | |- | ||
| 47 | | 47 | ||
| 49 | |||
| 57 | |||
| KeyboardRecordingEnabled | | KeyboardRecordingEnabled | ||
|- | |- | ||
| 48 | | 48 | ||
| 50 | |||
| 58 | |||
| UserKeyboardOverlays | | UserKeyboardOverlays | ||
|- | |- | ||
| 49 | | 49 | ||
| 51 | |||
| 59 | |||
| ShowExtraLayouts | | ShowExtraLayouts | ||
|- | |- | ||
| 50 | | 50 | ||
| - | |||
| - | |||
| UITextMagnifierMethod | | UITextMagnifierMethod | ||
|- | |- | ||
| 51 | | 51 | ||
| 52 | |||
| 60 | |||
| UsePublicEmojiCodePoints | | UsePublicEmojiCodePoints | ||
|- | |- | ||
| 52 | | 52 | ||
| 53 | |||
| 61 | |||
| KeyboardCachingDisabled | | KeyboardCachingDisabled | ||
| | |||
|- | |- | ||
| 53 | | 53 | ||
| 54 | |||
| - | |||
| ChineseCompletionUsesNgram | | ChineseCompletionUsesNgram | ||
| | |||
|- | |- | ||
| 54 | | 54 | ||
| 55 | |||
| 62 | |||
| ChinesePinyinAutocorrectionEnabled | | ChinesePinyinAutocorrectionEnabled | ||
| | |||
|- | |- | ||
| - | |||
|- | |||
| 56 | | 56 | ||
| | | 63 | ||
| HandwritingCaptureEnabled | |||
| | |||
|- | |- | ||
| - | |||
| 57 | | 57 | ||
| | | 64 | ||
| HandwritingMultipleCharacterRecognitionEnabled | |||
| | |||
|- | |- | ||
| - | |||
| 58 | | 58 | ||
| | | 65 | ||
| | | NonLegacyKeyboardEnabled | ||
| | |||
|- | |- | ||
| | | - | ||
| | | 59 | ||
| | | 66 | ||
| KeyboardGlobeKeyExperiments | |||
| | |||
|- | |- | ||
| | | - | ||
| | | 60 | ||
| 67 | |||
| KeyboardInProcessInputManagers | |||
| | |||
|- | |- | ||
| - | |||
| - | |||
| 68 | |||
| HardwareKeyboardAutocorrectionEnabled | |||
| | |||
|- | |||
|- | |||
| | |||
| | |||
| | |||
|- | |- | ||
| 55 | |||
| 61 | |||
| 69 | | 69 | ||
| FuzzyPinyin | | FuzzyPinyin | ||
| rowspan="4" | com.apple.InputModePreferences | | rowspan="4" | com.apple.InputModePreferences | ||
|- | |- | ||
| 56 | |||
| 62 | |||
| 70 | | 70 | ||
| SuchengCangjie | | SuchengCangjie | ||
|- | |- | ||
| 57 | |||
| 63 | |||
| 71 | | 71 | ||
| FuzzyPinyinPairs | | FuzzyPinyinPairs | ||
|- | |- | ||
| 58 | |||
| 64 | |||
| 72 | | 72 | ||
| SpaceConfirmation | | SpaceConfirmation | ||
|- | |- | ||
| - | |||
| - | |||
| 73 | | 73 | ||
| PredictiveUISettings | | PredictiveUISettings | ||
| com.apple.Preferences | | com.apple.Preferences | ||
|} | |} | ||
Revision as of 15:28, 20 March 2015
UIKeyboardPreferencesController is an undocumented Class for setting and and getting various common and private keyboard properties. In fact, property keys type is integer. They are converted to readable string for further uses. Tables below show each property key name, its integer representative, and its domain.
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
Integer | Key name | Domain | ||
---|---|---|---|---|
iOS 6 | iOS 7 | iOS 8 | ||
0 | 0 | 0 | AppleKeyboards | .GlobalPreferences |
1 | 1 | 1 | AppleKeyboardsExpanded | |
2 | 2 | 3 | AppleKeyboardsIncludeIntl | |
3 | 3 | 3 | AppleLocale | |
4 | 4 | 4 | AppleLanguages | |
5 | 5 | 5 | KeyboardSpoofSoftBank | com.apple.Preferences |
6 | 6 | 6 | KeyboardEmojiEverywhere | |
7 | 7 | 7 | KeyboardAutocorrection | |
8 | 8 | 8 | KeyboardAutocapitalization | |
9 | 9 | 9 | KeyboardCheckSpelling | |
10 | 10 | 10 | KeyboardPeriodShortcut | |
11 | 11 | 11 | KeyboardCapsLock | |
12 | 12 | 12 | KeyboardLastUsed | |
13 | 13 | 13 | KeyboardsCurrentAndNext | |
14 | 14 | 14 | KeyboardLastUsedForLanguage | |
- | 15 | 15 | KeyboardLayoutLastUsedForKeyboard | |
15 | 16 | 16 | KeyboardLastChosen | |
16 | 17 | 17 | KeyboardDisplayType | |
17 | 18 | 18 | KeyboardHardwareKeyboardsSeen | |
- | 19 | 19 | HardwareKeyboardLastSeen | |
- | 20 | 20 | SoftwareKeyboardShownByTouch | |
18 | 21 | 21 | AutomaticMinimizationEnabled | |
20 | 22 | 22 | UIKeyboardPersistentVerticalOffset | |
21 | 23 | 23 | UIKeyboardPersistentHorizontalOffset | |
22 | 24 | 24 | UIKeyboardPersistentSplitProgress | |
23 | 25 | 25 | UIKeyboardPersistentSplitLock | |
24 | 26 | 26 | UIKeyboardDidShowInternationalInfoAlert | |
25 | 27 | 27 | EmojiDefaultsKey | com.apple.EmojiPreferences |
26 | 28 | 28 | DictationTargetZone | com.apple.Preferences |
27 | 29 | 29 | DictationVerticalOffset | |
28 | 30 | 30 | DictationHorizontalOffset | |
29 | 31 | 31 | KeyboardCellularNetworkAccess | |
30 | 32 | 32 | RivenKeyboard | |
- | - | 33 | KeyboardPredictionHelpMessageCount | |
- | - | 34 | KeyboardShowPredictionBar | |
- | - | 35 | KeyboardPrediction | |
- | - | 36 | KeyboardBias | |
31 | 34 | 37 | DictationKeyAlwaysEnabled | com.apple.keyboard |
19 | 33 | 38 | KeyboardPerformanceLogging | |
32 | 35 | 39 | DictationLogging | |
33 | 36 | 40 | TypologyEnabled | |
34 | 37 | 41 | CostlyCapture | |
35 | 38 | 42 | KeyboardDisableSpaceCorrections | |
36 | 39 | 43 | KeyboardForceSpaceCorrections | |
37 | 40 | - | KeyboardAutocorrectionLists | |
38 | - | - | KeyboardExtendedAutocorrectionLearningDisabled | |
39 | 41 | 44 | KeyboardRetrocorrectionDisabled | |
- | - | 45 | KeyboardWordNgramModel | |
- | - | 46 | KeyboardWordNgramModelAdaptation | |
- | - | 47 | KeyboardPredictiveness | |
- | - | 48 | KeyboardMaxWordsPerPrediction | |
- | - | 49 | KeyboardCompletionsShouldSharePrefix | |
40 | 42 | 50 | KeyboardUserDictionarySyncing | |
41 | 43 | 51 | KeyboardUserDictionarySyncingWithPropertyList | |
42 | 44 | 52 | KeyboardAssetDownloading | |
43 | 45 | 53 | KeyboardAssetDownloadInFive | |
44 | 46 | 54 | KeyboardSettingsFromSwitcher | |
45 | 47 | 55 | KeyboardSwipeToTab | |
46 | 48 | 56 | RivenLayoutSize | |
47 | 49 | 57 | KeyboardRecordingEnabled | |
48 | 50 | 58 | UserKeyboardOverlays | |
49 | 51 | 59 | ShowExtraLayouts | |
50 | - | - | UITextMagnifierMethod | |
51 | 52 | 60 | UsePublicEmojiCodePoints | |
52 | 53 | 61 | KeyboardCachingDisabled | |
53 | 54 | - | ChineseCompletionUsesNgram | |
54 | 55 | 62 | ChinesePinyinAutocorrectionEnabled | |
- | 56 | 63 | HandwritingCaptureEnabled | |
- | 57 | 64 | HandwritingMultipleCharacterRecognitionEnabled | |
- | 58 | 65 | NonLegacyKeyboardEnabled | |
- | 59 | 66 | KeyboardGlobeKeyExperiments | |
- | 60 | 67 | KeyboardInProcessInputManagers | |
- | - | 68 | HardwareKeyboardAutocorrectionEnabled | |
55 | 61 | 69 | FuzzyPinyin | com.apple.InputModePreferences |
56 | 62 | 70 | SuchengCangjie | |
57 | 63 | 71 | FuzzyPinyinPairs | |
58 | 64 | 72 | SpaceConfirmation | |
- | - | 73 | PredictiveUISettings | com.apple.Preferences |