Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui button style

Button("Press Me") {
    print("Button pressed!")
}
.padding()
.background(Color(red: 0, green: 0, blue: 0.5))
.clipShape(Capsule())
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #swiftui #button #style
ADD COMMENT
Topic
Name
9+6 =