Modifiers
tag
Sets a tag on a view.
tag(tag)
| Parameter | Type | Description |
|---|---|---|
tag | string | number | The tag to set on the view. |
Sets a tag on a view.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
Sources
The original Expo docs for this page:
- tag (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)