iOS SDK。显示通话中状态栏 [英] iOS SDK. Show In-Call status bar

查看:193
本文介绍了iOS SDK。显示通话中状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都知道如何在应用程序中显示来自后台的消息时,如何显示来电状态栏?我知道AppStore的许多应用程序可以执行它。例如: http://myevoz.com/ 。据我所知,他们使用SBStatusBar类来显示它。我试图调用setDoubleHeightStatusString方法并且没有结果。

Any one know how to show In-Call Status Bar with message from application when it is going to be in background? I know many applications from AppStore which can perform it. For instance: http://myevoz.com/. As I understood, they use SBStatusBar class to show it. I've tried to call setDoubleHeightStatusString method and got no result.

任何想法或示例链接?

谢谢。

推荐答案

所以,现在我可以看到没有任何SpringBoard技巧并使用唯一合法API的红色双高状态栏。您只需要为声音添加背景模式支持并执行录制模拟。就这样。您将在红色状态栏上看到您的应用程序名称,请在此处查看答案:

So, now I can see red double-height status bar without any SpringBoard tricks and using the only legal APIs. You just need to add background mode support for sound and perform recording simulation. That's all. You will see your application name on red statusbar, see the answer here:

SBStatusBarController实例

这篇关于iOS SDK。显示通话中状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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