'default' 对 UITextInputTrait 常量的真正含义是什么
What does 'default' really mean for UITextInputTrait constants
我想向某人解释 UITextAutocorrectionType
有 3 个选项,是、否和默认。他们问我 default
是什么意思。我不知道。 The documentation 不是很有帮助。有没有人有进一步的见解?
case default
Specifies an appropriate autocorrection behavior for the current script system.
UITextSpellCheckingType
和 UIKeyboardType
的默认值同样难以捉摸
这些默认值是由用户自己设置的吗phone/system?
default
表示使用 iOS 设置应用程序中常规 -> 键盘下设置的任何值。如果 "Auto-correction" 设置已启用且 UITextAutocorrectionType
设置为 default
,则将使用自动更正。如果禁用 "Auto-correction" 设置,则不会使用自动更正。
no
明确表示不进行任何自动更正,无论 "Auto-correction" 设置如何。
yes
明确表示无论 "Auto-correction" 设置如何都进行自动更正。
我想向某人解释 UITextAutocorrectionType
有 3 个选项,是、否和默认。他们问我 default
是什么意思。我不知道。 The documentation 不是很有帮助。有没有人有进一步的见解?
case
default
Specifies an appropriate autocorrection behavior for the current script system.
UITextSpellCheckingType
和 UIKeyboardType
这些默认值是由用户自己设置的吗phone/system?
default
表示使用 iOS 设置应用程序中常规 -> 键盘下设置的任何值。如果 "Auto-correction" 设置已启用且 UITextAutocorrectionType
设置为 default
,则将使用自动更正。如果禁用 "Auto-correction" 设置,则不会使用自动更正。
no
明确表示不进行任何自动更正,无论 "Auto-correction" 设置如何。
yes
明确表示无论 "Auto-correction" 设置如何都进行自动更正。