<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/QCView/setAutostartsRendering(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(cs)QCView(im)setAutostartsRendering:"
  },
  "title" : "setAutostartsRendering(_:)"
}
-->

# setAutostartsRendering(_:)

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

```
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.

---

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)