Instance Property

showsRouteButton

A Boolean value that indicates whether the route button is visible in the volume view.

Declaration

var showsRouteButton: Bool { get set }

Discussion

The route button is visible by default when there is more than one audio output route available. To hide the route button, set this property’s value to false.

See Also

Managing Visibility of Controls

var showsVolumeSlider: Bool

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