开发者

iPhone SDK: how to disable my app sound if playing iPod content?

开发者 https://www.devze.com 2022-12-24 15:20 出处:网络
How can I disabl开发者_高级运维e my iPhone app sound if the user is playing iPod content? Thanks!You should set the correct audio category: Audio Category. You can simply detect whether the iPod app

How can I disabl开发者_高级运维e my iPhone app sound if the user is playing iPod content?

Thanks!


You should set the correct audio category: Audio Category. You can simply detect whether the iPod app is playing by handling media player change notifications: Media Player.

HTH.

0

精彩评论

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