I have a static UITableView
with a single section; that section has two UITableViewCell
s each having its own UIImageView
(see screenshot). I would like to modify the image used in the cell so that it uses a rendering mode of UIImageRenderingModeAlwaysTemplate
(so that the image will honor tintColor).
I've selected the UITableViewCell
and set the following in IB's "User Defined Runtime Attributes" (see screenshot):
Note: 2 is the value of UIImageRenderingModeAlwaysTemplate
.
When I run the app Xcode generates the following warning:
Failed to set (keyPath) user defined inspected property on (UIImageView): [<UIImageView 0x7fa490550d30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key keyPath.
Any idea what I'm doing wrong here? Also, I would like to not have to drop down to code for this - I want to stick with they Storyboard if possible.
Thanks!