Answers for "swift corner radious of view controller"

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 "swift corner radious of view controller"

Code answers related to "Swift"

Browse Popular Code Answers by Language