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
UIKeyboardPreferencesController: Difference between revisions - iPhone Development Wiki

UIKeyboardPreferencesController: Difference between revisions

From iPhone Development Wiki
mNo edit summary
(iOS 10.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''UIKeyboardPreferencesController''' is an undocumented Class for setting and and getting various common and private keyboard properties. In fact, property keys type is integer, or index for each string key in a constant array existed in UIKit or TextInput binary. Tables below show each property key name, sorted by index, and domain handling the key.
'''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 ==
== Methods ==
Line 16: Line 16:
{{function signature
{{function signature
|signature=- (BOOL)boolForKey:(NSInteger)key;
|signature=- (BOOL)boolForKey:(NSInteger)key;
|firmware=5.0 — 8.2
|firmware=5.0 —
}}
}}
{{ObjcCall|UIKeyboardPreferencesController|boolForKey:}} returns boolean value from property key.
{{ObjcCall|UIKeyboardPreferencesController|boolForKey:}} returns boolean value from property key.
Line 28: Line 28:
== Property Key List ==
== Property Key List ==
{| class="wikitable"
{| class="wikitable"
! colspan="3" style="font-weight: bold;" | Index
! colspan="5" 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
| style="font-weight: bold;" | iOS 10
|-
|-
| 0
| colspan="5" | 0
| 0
| 0
| AppleKeyboards
| AppleKeyboards
| rowspan="5" | .GlobalPreferences
| rowspan="5" | .GlobalPreferences
|-
|-
| 1
| colspan="5" | 1
| 1
| 1
| AppleKeyboardsExpanded
| AppleKeyboardsExpanded
|-
|-
| 2
| colspan="5" | 2
| 2
| 3
| AppleKeyboardsIncludeIntl
| AppleKeyboardsIncludeIntl
|-
|-
| 3
| colspan="5" | 3
| 3
| 3
| AppleLocale
| AppleLocale
|-
|-
| 4
| colspan="5" | 4
| 4
| 4
| AppleLanguages
| AppleLanguages
|-
|-
| 5
| colspan="5" | 5
| 5
| 5
| KeyboardSpoofSoftBank
| KeyboardSpoofSoftBank
| rowspan="22" | com.apple.Preferences
| rowspan="22" | com.apple.Preferences
|-
|-
| 6
| colspan="5" | 6
| 6
| 6
| KeyboardEmojiEverywhere
| KeyboardEmojiEverywhere
|-
|-
| 7
| colspan="5" | 7
| 7
| 7
| KeyboardAutocorrection
| KeyboardAutocorrection
|-
|-
| 8
| colspan="5" | 8
| 8
| 8
| KeyboardAutocapitalization
| KeyboardAutocapitalization
|-
|-
| 9
| colspan="5" | 9
| 9
| 9
| KeyboardCheckSpelling
| KeyboardCheckSpelling
|-
|-
| 10
| colspan="5" | 10
| 10
| 10
| KeyboardPeriodShortcut
| KeyboardPeriodShortcut
|-
|-
| 11
| colspan="5" | 11
| 11
| 11
| KeyboardCapsLock
| KeyboardCapsLock
|-
|-
| 12
| colspan="5" | 12
| 12
| 12
| KeyboardLastUsed
| KeyboardLastUsed
|-
|-
| 13
| colspan="5" | 13
| 13
| 13
| KeyboardsCurrentAndNext
| KeyboardsCurrentAndNext
|-
|-
| 14
| colspan="5" | 14
| 14
| 14
| KeyboardLastUsedForLanguage
| KeyboardLastUsedForLanguage
|-
|-
| -
| -
| 15
| colspan="4" | 15
| 15
| KeyboardLayoutLastUsedForKeyboard
| KeyboardLayoutLastUsedForKeyboard
|-
|-
| 15
| 15
| 16
| colspan="4" | 16
| 16
| KeyboardLastChosen
| KeyboardLastChosen
|-
|-
| 16
| 16
| 17
| colspan="4" | 17
| 17
| KeyboardDisplayType
| KeyboardDisplayType
|-
|-
| 17
| 17
| 18
| colspan="4" | 18
| 18
| KeyboardHardwareKeyboardsSeen
| KeyboardHardwareKeyboardsSeen
|-
|-
| -
| -
| 19
| colspan="4" | 19
| 19
| HardwareKeyboardLastSeen
| HardwareKeyboardLastSeen
|-
|-
| -
| -
| 20
| colspan="4" | 20
| 20
| SoftwareKeyboardShownByTouch
| SoftwareKeyboardShownByTouch
|-
|-
| 18
| 18
| 21
| colspan="4" | 21
| 21
| AutomaticMinimizationEnabled
| AutomaticMinimizationEnabled
|-
|-
| 20
| 20
| 22
| colspan="4" | 22
| 22
| UIKeyboardPersistentVerticalOffset
| UIKeyboardPersistentVerticalOffset
|-
|-
| 21
| 21
| 23
| colspan="4" | 23
| 23
| UIKeyboardPersistentHorizontalOffset
| UIKeyboardPersistentHorizontalOffset
|-
|-
| 22
| 22
| 24
| colspan="4" | 24
| 24
| UIKeyboardPersistentSplitProgress
| UIKeyboardPersistentSplitProgress
|-
|-
| 23
| 23
| 25
| colspan="4" | 25
| 25
| UIKeyboardPersistentSplitLock
| UIKeyboardPersistentSplitLock
|-
|-
| 24
| 24
| 26
| colspan="4" | 26
| 26
| UIKeyboardDidShowInternationalInfoAlert
| UIKeyboardDidShowInternationalInfoAlert
|-
|-
| 25
| 25
| 27
| colspan="4" | 27
| 27
| EmojiDefaultsKey
| EmojiDefaultsKey
| com.apple.EmojiPreferences
| com.apple.EmojiPreferences
|-
|-
| 26
| 26
| 28
| colspan="4" | 28
| 28
| DictationTargetZone
| DictationTargetZone
| rowspan="9" | com.apple.Preferences
| rowspan="15" | com.apple.Preferences
|-
|-
| 27
| 27
| 29
| colspan="4" | 29
| 29
| DictationVerticalOffset
| DictationVerticalOffset
|-
|-
| 28
| 28
| 30
| colspan="4" | 30
| 30
| DictationHorizontalOffset
| DictationHorizontalOffset
|-
|-
| 29
| 29
| 31
| colspan="4" | 31
| 31
| KeyboardCellularNetworkAccess
| KeyboardCellularNetworkAccess
|-
|-
| 30
| 30
| 32
| colspan="4" | 32
| 32
| RivenKeyboard
| RivenKeyboard
|-
|-
| -
| colspan="2" | -
| -
| colspan="3" | 33
| 33
| KeyboardPredictionHelpMessageCount
| KeyboardPredictionHelpMessageCount
|-
|-
| -
| colspan="2" | -
| -
| colspan="3" | 34
| 34
| KeyboardShowPredictionBar
| KeyboardShowPredictionBar
|-
|-
| -
| colspan="2" | -
| -
| colspan="3" | 35
| 35
| KeyboardPrediction
| KeyboardPrediction
|-
|-
| -
| colspan="2" | -
| -
| colspan="3" | 36
| 36
| KeyboardBias
| KeyboardBias
|-
| colspan="3" | -
| colspan="2" | 37
| KeyboardAllowPaddle
|-
| colspan="4" | -
| 38
| KeyboardIsFloating
|-
| colspan="4" | -
| 39
| HWKeyboardAutocorrection
|-
| colspan="4" | -
| 40
| HWKeyboardAutocapitalization
|-
| colspan="4" | -
| 41
| HWKeyboardPeriodShortcut
|-
| colspan="4" | -
| 42
| HWKeyboardCapsLockRomanSwitch
|-
|-
| 31
| 31
| 34
| 34
| 37
| 37
| 38
| 43
| DictationKeyAlwaysEnabled
| DictationKeyAlwaysEnabled
| rowspan="36" | com.apple.keyboard
| rowspan="37" | com.apple.keyboard
|-
|-
| 19
| 19
| 33
| 33
| 38
| 38
| 39
| 44
| KeyboardPerformanceLogging
| KeyboardPerformanceLogging
|-
|-
Line 239: Line 217:
| 35
| 35
| 39
| 39
| 40
| 45
| DictationLogging
| DictationLogging
|-
|-
Line 244: Line 224:
| 36
| 36
| 40
| 40
| 41
| 46
| TypologyEnabled
| TypologyEnabled
|-
|-
Line 249: Line 231:
| 37
| 37
| 41
| 41
| 42
| 47
| CostlyCapture
| CostlyCapture
|-
|-
Line 254: Line 238:
| 38
| 38
| 42
| 42
| 43
| 48
| KeyboardDisableSpaceCorrections
| KeyboardDisableSpaceCorrections
|-
|-
Line 259: Line 245:
| 39
| 39
| 43
| 43
| 44
| 49
| KeyboardForceSpaceCorrections
| KeyboardForceSpaceCorrections
|-
|-
| 37
| 37
| 40
| 40
| -
| colspan="3" | -
| KeyboardAutocorrectionLists
| KeyboardAutocorrectionLists
|-
|-
| 38
| 38
| -
| colspan="4" | -
| -
| KeyboardExtendedAutocorrectionLearningDisabled
| KeyboardExtendedAutocorrectionLearningDisabled
|-
|-
Line 274: Line 261:
| 41
| 41
| 44
| 44
| 45
| 50
| KeyboardRetrocorrectionDisabled
| KeyboardRetrocorrectionDisabled
|-
|-
| -
| colspan="2" | -
| -
| 45
| 45
| 46
| 51
| KeyboardWordNgramModel
| KeyboardWordNgramModel
|-
|-
| -
| colspan="2" | -
| -
| 46
| 46
| 47
| 52
| KeyboardWordNgramModelAdaptation
| KeyboardWordNgramModelAdaptation
|-
|-
| -
| colspan="2" | -
| -
| 47
| 47
| 48
| 53
| KeyboardPredictiveness
| KeyboardPredictiveness
|-
|-
| -
| colspan="2" | -
| -
| 48
| 48
| 49
| 54
| KeyboardMaxWordsPerPrediction
| KeyboardMaxWordsPerPrediction
|-
|-
| -
| colspan="2" | -
| -
| 49
| 49
| 50
| 55
| KeyboardCompletionsShouldSharePrefix
| KeyboardCompletionsShouldSharePrefix
|-
|-
Line 304: Line 298:
| 42
| 42
| 50
| 50
| 51
| 56
| KeyboardUserDictionarySyncing
| KeyboardUserDictionarySyncing
|-
|-
Line 309: Line 305:
| 43
| 43
| 51
| 51
| 52
| 57
| KeyboardUserDictionarySyncingWithPropertyList
| KeyboardUserDictionarySyncingWithPropertyList
|-
|-
Line 314: Line 312:
| 44
| 44
| 52
| 52
| 53
| 58
| KeyboardAssetDownloading
| KeyboardAssetDownloading
|-
|-
Line 319: Line 319:
| 45
| 45
| 53
| 53
| 54
| 59
| KeyboardAssetDownloadInFive
| KeyboardAssetDownloadInFive
|-
|-
Line 324: Line 326:
| 46
| 46
| 54
| 54
| 55
| 60
| KeyboardSettingsFromSwitcher
| KeyboardSettingsFromSwitcher
|-
|-
Line 329: Line 333:
| 47
| 47
| 55
| 55
| 56
| 61
| KeyboardSwipeToTab
| KeyboardSwipeToTab
|-
|-
Line 334: Line 340:
| 48
| 48
| 56
| 56
| 57
| 62
| RivenLayoutSize
| RivenLayoutSize
|-
|-
Line 339: Line 347:
| 49
| 49
| 57
| 57
| 58
| 63
| KeyboardRecordingEnabled
| KeyboardRecordingEnabled
|-
|-
Line 344: Line 354:
| 50
| 50
| 58
| 58
| 59
| 64
| UserKeyboardOverlays
| UserKeyboardOverlays
|-
|-
Line 349: Line 361:
| 51
| 51
| 59
| 59
| 60
| 65
| ShowExtraLayouts
| ShowExtraLayouts
|-
|-
| 50
| 50
| -
| colspan="4" | -
| -
| UITextMagnifierMethod
| UITextMagnifierMethod
|-
|-
Line 359: Line 372:
| 52
| 52
| 60
| 60
| 61
| 66
| UsePublicEmojiCodePoints
| UsePublicEmojiCodePoints
|-
|-
Line 364: Line 379:
| 53
| 53
| 61
| 61
| 62
| 67
| KeyboardCachingDisabled
| KeyboardCachingDisabled
|-
|-
| 53
| 53
| 54
| 54
| -
| colspan="3" | -
| ChineseCompletionUsesNgram
| ChineseCompletionUsesNgram
|-
|-
Line 374: Line 391:
| 55
| 55
| 62
| 62
| 63
| 68
| ChinesePinyinAutocorrectionEnabled
| ChinesePinyinAutocorrectionEnabled
|-
|-
Line 379: Line 398:
| 56
| 56
| 63
| 63
| 64
| 69
| HandwritingCaptureEnabled
| HandwritingCaptureEnabled
|-
|-
Line 384: Line 405:
| 57
| 57
| 64
| 64
| 65
| 70
| HandwritingMultipleCharacterRecognitionEnabled
| HandwritingMultipleCharacterRecognitionEnabled
|-
|-
Line 389: Line 412:
| 58
| 58
| 65
| 65
| 66
| 71
| NonLegacyKeyboardEnabled
| NonLegacyKeyboardEnabled
|-
|-
Line 394: Line 419:
| 59
| 59
| 66
| 66
| 67
| 72
| KeyboardGlobeKeyExperiments
| KeyboardGlobeKeyExperiments
|-
|-
Line 399: Line 426:
| 60
| 60
| 67
| 67
| 68
| -
| KeyboardInProcessInputManagers
| KeyboardInProcessInputManagers
|-
|-
| -
| colspan="4" | -
| -
| 73
| KeyboardMobileAssetExperiments
|-
| colspan="2" | -
| 68
| 68
| 69
| 74
| HardwareKeyboardAutocorrectionEnabled
| HardwareKeyboardAutocorrectionEnabled
|-
| colspan="4" | -
| 75
| KeyboardFloatingEnabled
| rowspan="5" | ?
|-
| colspan="4" | -
| 76
| KeyboardMultilingualEnabled
|-
| colspan="4" | -
| 77
| TypoTrackerButton
|-
| colspan="4" | -
| 78
| ProactiveQuickTypeSettings
|-
| colspan="4" | -
| 79
| ShowEmojisByDefault
|-
|-
| 55
| 55
| 61
| 61
| 69
| 69
| 70
| 80
| FuzzyPinyin
| FuzzyPinyin
| rowspan="4" | com.apple.InputModePreferences
| rowspan="4" | com.apple.InputModePreferences
Line 415: Line 472:
| 62
| 62
| 70
| 70
| 71
| 81
| SuchengCangjie
| SuchengCangjie
|-
|-
Line 420: Line 479:
| 63
| 63
| 71
| 71
| 72
| 82
| FuzzyPinyinPairs
| FuzzyPinyinPairs
|-
|-
Line 425: Line 486:
| 64
| 64
| 72
| 72
| 73
| 83
| SpaceConfirmation
| SpaceConfirmation
|-
|-
| -
| colspan="2" | -
| -
| 73
| 73
| colspan="2" | -
| PredictiveUISettings
| PredictiveUISettings
| com.apple.Preferences
| com.apple.Preferences

Latest revision as of 04:21, 3 June 2017

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