开发者

How do i set the iPod volume without affecting other sound levels?

开发者 https://www.devze.com 2023-02-08 17:59 出处:网络
I tried setting the iPod volume level before, but it affected the volum开发者_运维问答e of my app, which uses MPMusicPlayer. Any solution to this?If your app is playing music locally (not affecting th

I tried setting the iPod volume level before, but it affected the volum开发者_运维问答e of my app, which uses MPMusicPlayer. Any solution to this?


If your app is playing music locally (not affecting the iPod app) you can use MPMusicPlayerController to create an application music player and then set the volume property to whatever you want.

MPMusicPlayerController Class Reference

0

精彩评论

暂无评论...
验证码 换一张
取 消