<!--
{
  "availability" : [
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKInterfaceVolumeControl/init(origin:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKInterfaceVolumeControl(im)initWithOrigin:"
  },
  "title" : "init(origin:)"
}
-->

# init(origin:)

Creates a volume control for use in SwiftUI.

```
init(origin: WKInterfaceVolumeControl.Origin)
```

## Parameters

`origin`

The source of the audio managed by the volume control. For a list of possible values, see [`WKInterfaceVolumeControl.Origin`](/documentation/WatchKit/WKInterfaceVolumeControl/Origin).

## Discussion

Use this initializer to create an instance that you can wrap in a <doc://com.apple.documentation/documentation/SwiftUI/WKInterfaceObjectRepresentable> view. If you aren’t using SwiftUI, create the control by dragging it from the Object library to your storyboard instead.

---

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)