iPhone SwiftUI layouts

Explore SwiftUI APIs, components, and modifiers with interactive iPhone previews, Swift code, and Apple documentation. Compare every available orientation, appearance, and design.

Link

TextFieldLink

A control that requests text input from the user when pressed

Explore TextFieldLink on iPhone in portrait, with SwiftUI code and Apple API documentation.

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

Every available iPhone screenshot for TextFieldLink.

1 views