I\'ve read some posts on this, but still can\'t get the answer to my question.
I have a disclosure indicator.
Try something like this. Probably you'll be able to achieve what you want.
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
for (id obj in cell.subviews){
if([obj isKindOfClass:[UIButton class]]) {
UIButton *button = obj;
for(id btnObj in button.subviews){
if([btnObj isKindOfClass:[UIImageView class]]) {
UIImageView *imgView = btnObj;
UIImage *image = [imgView.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
imgView.image = image;
imgView.tintColor = cell.backgroundColor;
}
}
}
}
}