toggleAutomaticTextReplacement(_:)
Toggles the state of the automatic text replacement.
Declaration
func toggleAutomaticTextReplacement(_ sender: Any?)Parameters
- sender:
The control sending the message. May be
nil.
Discussion
Turning on automatic text replacement enables automatic substitution of a variety of static text items based on user preferences.
See Also
Checking and substituting text
checkTextInDocument(_:)checkTextInSelection(_:)checkText(in:types:options:)handleTextCheckingResults(_:forRange:types:options:orthography:wordCount:)enabledTextCheckingTypesisAutomaticDashSubstitutionEnabledtoggleAutomaticDashSubstitution(_:)isAutomaticDataDetectionEnabledtoggleAutomaticDataDetection(_:)isAutomaticSpellingCorrectionEnabledtoggleAutomaticSpellingCorrection(_:)isAutomaticTextReplacementEnabledperformValidatedReplacement(in:with:)