---
title: showsVolumeSlider
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpvolumeview/showsvolumeslider
---

# showsVolumeSlider

A Boolean value that indicates the volume slider is visible in the volume view.

## Declaration

```swift
var showsVolumeSlider: Bool { get set }
```

## Discussion

Discussion The volume slider is visible by default. To hide the volume slider, set this property’s value to false.
