Apple Music change volume

I'm integrating Apple Music on my ios app, and I want to change the volume programmatically.

I'm using: let player = MPMusicPlayerController.applicationQueuePlayer player.

But I found that this player doesn't have an API for changing volume.

Any solutions, please?

Apple Music change volume
 
 
Q