Images in UITableView cells are not honoring tintColor

What a headache this problem is after so many versions! The only thing that is a sure fire fix, assuming everything is "right" (template image, etc) is subclassing the UIImageView and overriding didMoveToSuperview with this...

- (void)didMoveToSuperview
{
    [self setHighlighted:YES];
    [self setHighlighted:NO];
    [super didMoveToSuperview];
}

It's a hack but it works.


Here is an example:

UIImage *image = [[UIImage imageNamed:@"ic_email_white"]
                  imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
[[cell imageView] setImage:image];
[[cell imageView] setTintColor:[UIColor redColor]];

Every UIImageView has the property tintColor on iOS7+

Try to set cell's imageView.image.renderingMode to UIImageRenderingModeAlwaysTemplate in storyboard User Defined Runtime Attributes