Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui rounded specific corner

extension View {
    func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
        clipShape( RoundedCorner(radius: radius, corners: corners) )
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swiftui #rounded #specific #corner
ADD COMMENT
Topic
Name
2+2 =