toggleAutomaticDataDetection(_:)
Toggles the state of the automatic data detection.
Declaration
func toggleAutomaticDataDetection(_ sender: Any?)Parameters
- sender:
The control sending the message. May be
nil.
Discussion
Automatic data detection enables detection of dates, addresses, and phone numbers.
See Also
Checking and substituting text
checkTextInDocument(_:)checkTextInSelection(_:)checkText(in:types:options:)handleTextCheckingResults(_:forRange:types:options:orthography:wordCount:)enabledTextCheckingTypesisAutomaticDashSubstitutionEnabledtoggleAutomaticDashSubstitution(_:)isAutomaticDataDetectionEnabledisAutomaticSpellingCorrectionEnabledtoggleAutomaticSpellingCorrection(_:)isAutomaticTextReplacementEnabledtoggleAutomaticTextReplacement(_:)performValidatedReplacement(in:with:)