---
title: "setBackgroundImage(_:)"
framework: watchkit
role: symbol
role_heading: Instance Method
path: "watchkit/wkinterfacegroup/setbackgroundimage(_:)"
---

# setBackgroundImage(_:)

Changes the background image of the group container to the specified image.

## Declaration

```swift
func setBackgroundImage(_ image: UIImage?)
```

## Parameters

- `image`: The background image to be displayed behind all items in the group. Specifying nil removes the existing image, causing the background color to show through. You may specify an image object that contains multiple images running as an animation.

## See Also

### Setting the Group’s Content

- [setBackgroundColor(_:)](watchkit/wkinterfacegroup/setbackgroundcolor(_:).md)
- [setBackgroundImageData(_:)](watchkit/wkinterfacegroup/setbackgroundimagedata(_:).md)
- [setBackgroundImageNamed(_:)](watchkit/wkinterfacegroup/setbackgroundimagenamed(_:).md)
