<!--
{
  "availability" : [
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKInterfaceImage/setTintColor(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKInterfaceImage(im)setTintColor:"
  },
  "title" : "setTintColor(_:)"
}
-->

# setTintColor(_:)

Changes the color applied to a template image.

```
func setTintColor(_ tintColor: UIColor?)
```

## Parameters

`tintColor`

The tint color to use for a template image. Specify `nil` to use the default tint color.

## Discussion

When you display a template image, use this method to set the tint color to apply to that image. With a template image, WatchKit uses only the alpha channel of the image to define a shape. To create a template image from an existing image, call the <doc://com.apple.documentation/documentation/UIKit/UIImage/withRenderingMode(_:)> method on an existing <doc://com.apple.documentation/documentation/UIKit/UIImage> and specify the <doc://com.apple.documentation/documentation/UIKit/UIImage/RenderingMode-swift.enum/alwaysTemplate> rendering mode.

An image object applies the tint color only when it contains a single template image. It does not apply the tint color to animated images or images that are not configured as template images.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)