The playback volume for the audio queue, ranging from
1 on a linear scale. A value of
0 indicates silence; a value of
1 (the default) indicates full volume for the audio queue instance.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
Use this property to control an audio queue’s volume relative to other audio output.
To provide UI in iOS for adjusting system audio playback volume, use the
MPVolume class, which provides media playback controls that iOS users expect and whose appearance you can customize.