Home > AI > IOS > SwiftUI >

cornerRadius(_:antialiased:)

Example (Apple):

Text("Rounded Corners")
    .frame(width: 175, height: 75)
    .foregroundColor(Color.white)
    .background(Color.black)
    .cornerRadius(25)

Leave a Reply