outputVolume
The systemwide output volume set by the user.
Declaration
var outputVolume: Float { get }Discussion
This property returns a value in the range 0.0 to 1.0, with 0.0 representing the minimum volume, and 1.0 representing the maximum volume.
Only the user can directly set the system volume. Provide a volume control in your app, using MPVolumeView, to provide the interface to adjust the system volume.
You can observe changes to the value of this property by using Key-value observing.