Change UITableViewCellAccessory-DisclosureIndicator colour

I needed to change the UITableViewCellAccessoryDisclosureIndicator to be white as I had a dark background and the the default grey colour didn’t show up very well.

The best way to do this is to create an image and add it to an image view and add that to the cell.accessoryView.

cell.accessoryView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"disclosureIndicator.png"]] autorelease];

Leave a Comment