---
title: "setAutostartsRendering(_:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/qcview/setautostartsrendering(_:)"
---

# setAutostartsRendering(_:)

Sets whether the composition that is in the view starts rendering automatically when the view is put on the screen.

## Declaration

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

## Parameters

- `flag`: Pass doc://com.apple.documentation/documentation/Swift/true to enable autostart mode; doc://com.apple.documentation/documentation/Swift/false otherwise.

## See Also

### Managing Rendering

- [startRendering()](quartz/qcview/startrendering().md)
- [isRendering()](quartz/qcview/isrendering().md)
- [autostartsRendering()](quartz/qcview/autostartsrendering().md)
- [stopRendering()](quartz/qcview/stoprendering().md)
- [pauseRendering()](quartz/qcview/pauserendering().md)
- [isPausedRendering()](quartz/qcview/ispausedrendering().md)
- [resumeRendering()](quartz/qcview/resumerendering().md)
