TextFieldLink

A control that requests text input from the user when pressed

TextFieldLink - iOS Light Mode Preview

Platform Compatibility

watchOS 9.0+

Tags

SwiftUI Code

Docs
TextFieldLink("Set Text", prompt: Text("Custom Placeholder")) { str in
print("Typed text: \(str)")
}

Found an issue or have a suggestion?

Created: June 5, 2025Updated: June 5, 2025