//Two different options
cell.thumbnailImageView.layer.cornerRadius = cell.thumbnailImageView.frame.size.width/2 //1
cell.thumbnailImageView.layer.cornerRadius = 10 //2
cell.thumbnailImageView.clipsToBounds = true;
How to add a corner radius to an image in iOS (Swift)
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.