I customised tableview cell style with an imageview filling the entire cell. A checkmark is displayed when an UIAlertAction is called. But it displays a white box around the checkmark.
The background image shrinks when checkmark is displayed:
and without the checkmark:
I have tried:
let color = cell.contentView.backgroundColor cell.backgroundColor = color
in the tableview(cellforrowatindexpath) but it doesn't work.
How do I remove this white accessoryview?
Instead of accessoryview
you can use imageview
to show Checked record.