How can I change image tintColor in iOS and WatchKit
Asked 07 September, 2021
Viewed 1.1K times
  • 53
Votes

I have an UIImageView called "theImageView", with UIImage in a single color (transparent background) just like the left black heart below. How can I change the tint color of this image programmatically in iOS 7 or above, as per the tint method used in the iOS 7+ Navigation Bar icons?

Can this method also work in WatchKit for an Apple Watch app?

enter image description here

25 Answer