The audio playback volume for the player.
- iOS 7.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.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.