The audio playback volume for the player, ranging from
1 on a linear scale.
- iOS 7.0+
- macOS 10.7+
- tvOS 9.0+
A value of
0 indicates silence; a value of
1 (the default) indicates full audio volume for the player instance.
This property is used to control the player audio volume relative to the system volume. There is no programmatic way to control the system volume in iOS, but you can use the MediaPlayer framework’s
MPVolume class to present a standard user interface for controlling system volume.