<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudioKit",
  "identifier" : "/documentation/CoreAudioKit/AUAudioUnitViewConfiguration/init(width:height:hostHasController:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CoreAudioKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AUAudioUnitViewConfiguration(im)initWithWidth:height:hostHasController:"
  },
  "title" : "init(width:height:hostHasController:)"
}
-->

# init(width:height:hostHasController:)

Creates a new configuration object.

```
init(width: CGFloat, height: CGFloat, hostHasController: Bool)
```

## Parameters

`width`

The view’s width.

`height`

The view’s height.

`hostHasController`

A Boolean value that indicates whether the host shows its own control surface in this view configuration.

---

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)