- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在开发一款视频/音频通话应用。现在,当我的手机被锁定并且另一个用户调用我时,我会从锁定屏幕收到通知,如果我滑动通知,那么电话会自动收到。我使用 UILocalNotification
来获取通知。
但我不想这样。我希望看到的 UI 与当我的手机解锁时另一个用户给我打电话时的 UI 相同,即我的 UI 将有接收/拒绝选项。我想接听 Viber 或 Skype 之类的电话。我该怎么做?
最佳答案
您应该查看 Apple 的 PushKit
框架。
The PushKit framework provides the classes for your iOS apps to receive VoIP pushes from remote servers. VoIP pushes provide the functionality that VoIP apps need to perform on-demand processing of the push before displaying a notification to the user.
有些教程可能会对您有所帮助。
更新
要显示您应用的 VoIP 服务的系统调用 UI,您可以使用 CallKit
。
这是一个很好解释的教程。
http://www.techjini.com/blog/enhance-voip-app-user-experience-using-pushkit-callkit/
关于ios - 带有来电的锁屏用户界面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44493120/
如何从 Android-Native-Screen 打开 flutter 屏幕? 我开了一个 Android-Native-Screen 从现有我们 flutter 项目 . 所以,在 Android
有人知道如何使用 java 和 google chrome 最大化 selenium webdriver 窗口吗? 我已经尝试过一些命令,例如maximize () window (),但没有成功。
Redmi A65 智能电视今天正式开卖,4K 超高清大屏 + 立体声扬声器,到手价 2599 元。 IT之家了解到,Redmi A65 智能电视搭载了一块 65 英寸 4K 屏,支持 HDR
9 月 26 日消息小米电视大师「至尊纪念版」将在 9 月 29 日发布,根据今天小米集团大家电部总经理李肖爽放出的海报显示,小米电视大师至尊版有两款。 小米电视大师「至尊纪念版」是小米首款
华为手环 6 今日在海外正式发布,英文名 Band 6。这款产品是华为手环 4 的升级版,屏幕尺寸由 0.96 英寸升级为 1.47 英寸 AMOLED 屏,分辨率 194 x 368。该手环外形类
我是一名优秀的程序员,十分优秀!