Answers for "ios rounded corners uiviewcontroller"

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"

Browse Popular Code Answers by Language