---
title: uiImage
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/imagerenderer/uiimage
---

# uiImage

The current contents of the view, rasterized as a UIKit image.

## Declaration

```swift
@MainActor final var uiImage: UIImage? { get }
```

## Discussion

Discussion The renderer notifies its objectWillChange publisher when the contents of the image may have changed.

## See Also

### Rendering images

- [render(rasterizationScale:renderer:)](swiftui/imagerenderer/render(rasterizationscale:renderer:).md)
- [cgImage](swiftui/imagerenderer/cgimage.md)
- [nsImage](swiftui/imagerenderer/nsimage.md)
