arrays - Creating a Round Image in TableView -
i getting list of images parse , trying display them circle though image in parse square. in cellforrowatindexpath, use code:
cell1.imageview!.layer.cornerradius = cell1.imageview!.frame.size.height / 2 cell1.imageview!.clipstobounds = true why images not round?
make sure set maskstobounds true after manipulate corner radius.:
cell.cellimage.layer.maskstobounds = true this last step you're missing.

Comments
Post a Comment