Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I stop a cell's disclosure indicator from turning white when selected?

I have a cell where the accessory type is set to a disclosure indicator via:

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

Now when selected, it turns white as per default.

Because I have changed the default selection style/view via the cell's 'backgroundView' and 'selectedBackgroundView' properties, I want the disclosure indicator to stay gray as it will look better.

Is there an easy way to do this without having to create a custom disclosure indicator image and adding this to the cell?

like image 610
Jordan Smith Avatar asked Jan 04 '12 00:01

Jordan Smith


1 Answers

Try this link:Custom colored disclosure indicators

like image 68
nithin Avatar answered Oct 20 '22 05:10

nithin