Modifiers
textSelection
Controls whether people can select text within this view.
textSelection(value)
| Parameter | Type | Description |
|---|---|---|
value | boolean | Enable selection |
Controls whether people can select text within this view.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
Sources
The original Expo docs for this page:
- textSelection (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)