TextFieldLink
A control that requests text input from the user when pressed
Platform Compatibility
Tags
SwiftUI Code
TextFieldLink("Set Text", prompt: Text("Custom Placeholder")) { str in
print("Typed text: \(str)")
}A control that requests text input from the user when pressed
TextFieldLink("Set Text", prompt: Text("Custom Placeholder")) { str in
print("Typed text: \(str)")
}Creates an instance, with a custom label, that presents the share interface
Sets the display mode to hidden for the separator associated with this specific row.
A placement that pins the item to the trailing edge of the toolbar.
Conditionally prevents interactive dismissal of presentations like popovers, sheets, and inspectors. Dragging the sheet is still possible to a limited extent, as shown in the screenshot, but it will never be dismissed.
Creates a picker that generates its label from a localized string key and accepts a custom current value label.
A PickerStyle where each option is displayed inline with other views in the current container.