• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Volume of background music
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Volume of background music


  • Subject: Re: Volume of background music
  • From: Graham Cox <email@hidden>
  • Date: Mon, 28 Mar 2016 08:56:13 +1100

> On 28 Mar 2016, at 12:26 AM, Charles Jenkins <email@hidden> wrote:
>
> I would like to let users select their own background music from their music libraries. From my researches, I can only find the MPMusicPlayer and its associated media picker as the way to let the user make his or her own play list; but if I use those interfaces, I cannot control the volume, so the background music will be too loud. The user can of course lower the system volume to compensate, but doing so will attenuate the game’s sound effects as well.
>
> Have I missed anything, or is that really the current state of affairs on iOS?


I’m unfamiiar with programming this task, but a quick trawl through the docs led me to MPVolumeView, which seems to the current approach to handling playback volume on iOS.

—Graham



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Volume of background music
      • From: Charles Jenkins <email@hidden>
References: 
 >Volume of background music (From: Charles Jenkins <email@hidden>)

  • Prev by Date: Volume of background music
  • Next by Date: Re: Volume of background music
  • Previous by thread: Volume of background music
  • Next by thread: Re: Volume of background music
  • Index(es):
    • Date
    • Thread