I've read some posts on this, but still can't get the answer to my question.
I have a disclosure indicator.
I add it like this:
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
Everything works fine and is good, the only thing i want to change is when i press down the cell, disclosure indicator changes color to white. I don't want that. So my question is how to make the disclosure indicator color fixed, and not changing?
I was facing the same problem and found even you're struggling with this...though its quite late answer but I sorted out my issue by writing the following line,
cell.selectionStyle = UITableViewCellSelectionStyleNone;
it stopped accessory type UITableViewCellAccessoryDisclosureIndicator from being white when selected.
Hope this helped.
Swift version:
cell.selectionStyle = .none
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With