---
title: WKInterfaceVolumeControl
framework: watchkit
role: symbol
role_heading: Class
path: watchkit/wkinterfacevolumecontrol
---

# WKInterfaceVolumeControl

An interface element that provides control of the audio volume from the watch or a paired iPhone.

## Declaration

```swift
class WKInterfaceVolumeControl
```

## Overview

Overview Configure your app’s audio source and the appearance of the volume control in your storyboard file. Use the WKInterfaceVolumeControl instance to change the volume’s tint color at runtime. Do not subclass or create instances of this class yourself. Instead, define outlets in your interface controller class and connect them to the corresponding objects in your storyboard file. For example, to refer to a volume control in your interface, define a property with the following syntax in your interface controller class: During the initialization of your interface controller, WatchKit creates a new instance of this class and assigns it to your outlet. At that point, you can use the object in your outlet to make changes to the onscreen control. After selecting the volume control, the user can increase or decrease the audio’s volume using the crown. The system automatically handles changing the audio source’s volume. You cannot access or change the volume programmatically in your app. Interface Builder Configuration Options Xcode lets you configure your volume control in your storyboard file. The following table lists the attributes you can configure and their meaning.  |   |   |

## Topics

### Setting the Tint Color

- [setTintColor(_:)](watchkit/wkinterfacevolumecontrol/settintcolor(_:).md)

### Managing Input from the Digital Crown

- [focus()](watchkit/wkinterfacevolumecontrol/focus().md)
- [resignFocus()](watchkit/wkinterfacevolumecontrol/resignfocus().md)

### SwiftUI

- [init(origin:)](watchkit/wkinterfacevolumecontrol/init(origin:).md)
- [WKInterfaceVolumeControl.Origin](watchkit/wkinterfacevolumecontrol/origin.md)

## Relationships

### Inherits From

- [WKInterfaceObject](watchkit/wkinterfaceobject.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Audio

- [Playing Background Audio](watchkit/playing-background-audio.md)
- [Adding a Now Playing View](watchkit/adding-a-now-playing-view.md)
- [PUICAutoLaunchAudioOptOut](bundleresources/information-property-list/puicautolaunchaudiooptout.md)
- [WKAudioFilePlayer](watchkit/wkaudiofileplayer.md)
- [WKAudioFileQueuePlayer](watchkit/wkaudiofilequeueplayer.md)
- [WKAudioFilePlayerItem](watchkit/wkaudiofileplayeritem.md)
- [WKAudioFileAsset](watchkit/wkaudiofileasset.md)
