Answers for "make curve on the corners for uiview in swift"

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 "make curve on the corners for uiview in swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language