<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImage/RenderingMode-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIImageRenderingMode"
  },
  "title" : "UIImage.RenderingMode"
}
-->

# UIImage.RenderingMode

Constants that specify the possible rendering modes for an image.

```
enum RenderingMode
```

## Overview

The rendering mode controls how UIKit uses color information to display an image. See [Providing images for different appearances](/documentation/UIKit/providing-images-for-different-appearances) for creating tintable images with template mode.

## Topics

### Rendering modes

[`UIImage.RenderingMode.automatic`](/documentation/UIKit/UIImage/RenderingMode-swift.enum/automatic)

Draw the image using the context’s default rendering mode.

[`UIImage.RenderingMode.alwaysOriginal`](/documentation/UIKit/UIImage/RenderingMode-swift.enum/alwaysOriginal)

Always draw the original image, without treating it as a template.

[`UIImage.RenderingMode.alwaysTemplate`](/documentation/UIKit/UIImage/RenderingMode-swift.enum/alwaysTemplate)

Always draw the image as a template image, ignoring its color information.



---

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)