swiftdisclosure

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


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


Solution

  • Try to set backgroundColor of UITableViewCell.

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