Circular UIImageView in UITableView Cell
Adi Nugroho
71

cell.layoutIfNeeded()
// should be added before 
cell.imageView?.layer.cornerRadius = (cell.imageView?.frame.size.width)! / 2

Due to autolayout, it’s good to layout the cell to get the proper image view frame sizes.

Show your support

Clapping shows how much you appreciated Loganathan B’s story.