我记得关键字音频路由改变,并相信这是一个通知。拦截用户拔下耳机或插上耳机的最简单方法是什么?
发布于 2012-12-01 05:38:17
你想读一下this piece of Apple documentation。它不是通知(就像在send by NSNotificationCenter中那样),但它在音频路由更改时发出通知。
NSNotificationCenter
https://stackoverflow.com/questions/13653529
相似问题