Friday, June 19, 2015

Setting ImageView corner radius iOS, Swift

To get rounded image view

imageView.layer.cornerRadius = imageView.frame.size.width / 2
imageView.layer.masksToBounds = true



No comments:

Post a Comment