iOS 根据来电显示通知
是否可以让后台应用程序在接听电话之前或接听电话期间根据来电者的联系方式显示通知?
Is it possible to have a background app display a notification based on who is contact details from an incoming caller, either before the call is answered or during?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不可以,系统不允许您以任何方式与电话进行交互。
No, the system will not allow you to interact with phone calls in any way.
您可以使用地址簿 API 设置地址簿中特定人员的图像。这样,将根据呼叫者显示特定的背景图像(可能带有短信)。
You can set the image for certain people in the address book using the Address Book API. That way, a certain background image (potentially with a textual message) will be shown, based on who is calling.
随着时间的推移,事情会发生变化。看看sync.me,当您接到来电时,Facebook 上的最新帖子将显示在接受/拒绝按钮上方。尽管我仍然不明白它是如何完成的。
With time, things change. Look at sync.me, when you get an incoming call, the latest post on facebook will show just above the accept/decline button. Though I still can't get the idea of how it is done.