Re: Volume of background music
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