I’m using a group table view to show user settings, and i want to show an image in one of the cells.
As you all know the group table view cell has rounded corners, so I want my image to also be with the same rounded corners filling the entire cell.
How can I set an image to fill the cell with the same rounded corners?
When i try to set an image with the cell’s bounds it fills the entire rect (from x=0) not the cell’s rect (the cell’s rect start with some x offset and has rounded corners)
If u have UIImageView in Cell then u can do this as each layer can have a corner radius set, this will give you just what you want:
implementation is below: