Tooltip
Floating hint on hover or long-press.
s0 add tooltip
Usage
S0.Button("Save", action: { })
.s0Tooltip("Save your changes")Image(systemName: "info.circle")
.s0Tooltip("More information", edge: .bottom)Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| message | String | — | Tooltip text to display. |
| edge | TooltipEdge | .top | Preferred edge for placement: .top, .bottom, .leading, .trailing. |