2 Answers

  1. Matthew- Reply

    2019-11-13

    This should work:

    float volume = 1.0f;
    [[MPMusicPlayerController applicationMusicPlayer] setVolume:volume];
    
  2. Michael- Reply

    2019-11-13

    You can do something like this:

    [Music setVolume:0.3];
    [Music play];
    

    0.0 meaning volume off and 1.0 meaning max volume

Leave a Reply

Your email address will not be published. Required fields are marked *

You can use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>