Answers for "how to curve the edges of UI view controllers"

1

swift corner radious of view controller

extension UIView {
    func makeCorner(withRadius radius: CGFloat) {
        self.layer.cornerRadius = radius
        self.layer.masksToBounds = true
        self.layer.isOpaque = false
    }
}
Posted by: Guest on April-13-2020

Code answers related to "how to curve the edges of UI view controllers"

Code answers related to "Swift"

Browse Popular Code Answers by Language