Contents

hasActiveTextSelection

A Boolean value that indicates whether a person or the app has text selected within the image.

Declaration

@MainActor final var hasActiveTextSelection: Bool { get }

Discussion

If textSelection is an active interaction type, a person can select text using a standard input method and the app can select text through the selectedRanges property. If neither a person nor the app select any text, then this property returns false.

See Also

Accessing text information