how to set corner radius for UIView in Swift

0 votes
265 views
asked Jan 10, 2015 in Swift by admin (8,115 points)
Hi

  how to set corner radius for UIView in Swift?

1 Answer

0 votes
answered Jan 10, 2015 by jonathan (3,105 points)

Hi

       self.placeDetailTableViewiPhone.layer.cornerRadius = 5

        self.placeDetailTableViewiPhone.layer.masksToBounds = true

...