allowLongPressForDataDetectorsInTextMode
A Boolean value that indicates whether people can press and hold text to activate data detectors.
Declaration
@MainActor final var allowLongPressForDataDetectorsInTextMode: Bool { get set }Mentioned in
Discussion
If you set this property to true when the interaction type is just text, people can press and hold data in text, even when data detectors aren’t active. Otherwise, people can perform only text actions, such as copy and translate. The default value for this property is true.