You can use the built-in Button
struct to create tappable buttons in SwiftUI. Each Button
takes in an action
to fire e.g. printing to the console, and a View
to render for the button (like a Text()
field!).
SWE @lyft. Currently working on data infrastructure
You can use the built-in Button
struct to create tappable buttons in SwiftUI. Each Button
takes in an action
to fire e.g. printing to the console, and a View
to render for the button (like a Text()
field!).
SWE @lyft. Currently working on data infrastructure View more posts