Swift, Custom Cell color Doesn’t Apply behind disclosure indicator

968 Views Asked by At

I can't apply same background color in disclosure indicator as same as content view background color. I have done: propertyCell.selectionStyle = UITableViewCellSelectionStyle. None;

Have tried with the Custom cell background color same as content view color.

Attaching image for the reference of Custome cell's paramers.

Thanks in advance for teh help.

enter image description here

2

There are 2 best solutions below

1
On BEST ANSWER

Try to set backgroundColor of UITableViewCell.

propertyCell.backgroundColor = [UIColor redColor]; // your favorite color.
0
On

In swift:

cell.backgroundColor = UIColor.back