拔下耳机时是否有事件? [英] Is there an event for when the headphones are unplugged?

查看:128
本文介绍了拔下耳机时是否有事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在测试过程中,客户注意到当拔下耳机时,iPhone中的视频播放会暂停。他想要类似的音频播放功能,也许还能弹出一条消息。

During a test, a client noticed that video playback in the iPhone pauses when headphones are unplugged. He wanted similar functionality for audio playback, and maybe the ability to pop up a message.

有没有人知道是否有某种类型的事件我可以用来制作这个可能?

Does anyone know if there's an event of some kind I could hook into to make this possible?

推荐答案

参见响应路由更改

-marc

这篇关于拔下耳机时是否有事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆