---
title: "setDrawsBackground(_:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/qccompositionpickerview/setdrawsbackground(_:)"
---

# setDrawsBackground(_:)

Sets whether the composition picker view draws its background.

## Declaration

```swift
func setDrawsBackground(_ flag: Bool)
```

## Parameters

- `flag`: The background drawing state. Pass doc://com.apple.documentation/documentation/Swift/true if the composition picker view draws its background.

## See Also

### Managing Background Drawing

- [drawsBackground()](quartz/qccompositionpickerview/drawsbackground().md)
