iPhone SDK: how to disable my app sound if playing iPod content?
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.
精彩评论