UIImageView ignores tintColor with PDF vector template images

Number:rdar://18448072 Date Originated:2014-09-24
Status:Open Resolved:No
Product:iOS8, Xcode6 Product Version:iOS8, Xcode6
Classification:Bug Reproducible:Always
UIImageView is supposed to use its own tint color to color template images, that is, UIImages that are set to UIRenderingModeAlwaysTemplate

If you create such images by using an Xcode6 image set with PDFs vector images, then UIImageView does not color the images properly.

Steps to Reproduce:
1. Run the example app

Expected Results:
2. left column should be tinted red, the right column white, as based on the tint color of the left and right uiimageview in the cells

Actual Results:
2. most image views show the original color of the image, and correctly re-color it only sporadically after scrolling.

iOS 8.0


iPhone 5, iPhone 6


Number Status Originator Product Title
rdar://23759908 Duplicate/18448072 preble iOS SDK Tint color is not correctly applied when using UIImageView with a template image


Still required

For all that come here and imagine that this bug could no longer be the case since it's now 5 years old: Yes, the bug still exists, the workaround still solves it.

By Matthias.Schicker at Jan. 15, 2019, 2:47 p.m. (reply...)

SO discussion, with another workaround


By alexisgallagher at Oct. 30, 2014, 8:59 p.m. (reply...)

This problem exists only for UIImageViews, not for UIButtons

As a result, one workaround is to use not UIImageView, but custom-type UIButtons with userInteractionEnabled=false.

By alexisgallagher at Sept. 25, 2014, 4:29 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!