iOS 7替代CTCall? [英] iOS 7 alternative to CTCall?

查看:139
本文介绍了iOS 7替代CTCall?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的企业iOS应用中,我们使用

In our enterprise iOS app we used

CTCallRef CTCallDial(CFStringRef number);

从应用程序拨打电话(并且能够隐藏来电显示

to do calls from the app (and be able to hide the caller-id

它在iOS 7中似乎不起作用。那里的API有变化吗?

It does not seem to work in iOS 7. Has the API changed there?

(我完全清楚这是一个私有API调用,它可以随时更改,但我仍然希望找到一个替代方案。可悲的是,我不够精明,知道如何找到所有可用的私有API)

(I'm fully aware that this is a private API call and that it can change anytime, but I'm still hoping to find an alternative. Sadly I'm not savvy enough to know how to find all private API that is available)

推荐答案

我认为它需要您使用 com.apple.coretelephony.Calls.allow 权利签署您的应用程序。我在SpringBoard二进制文件中找到它.Apple添加了一大堆新的权利。所以我们应该期望很多API在没有它们的情况下无法工作。仅仅对于CoreTelephony而言,SpringBoard中有四种权利。

I think it requires you to sign your app with com.apple.coretelephony.Calls.allow entitlement. I found it in SpringBoard binary. Apple added a whole bunch of new entitlements. So we should expect that many APIs will not work without them. Just for CoreTelephony alone there is four entitlements in SpringBoard.

这篇关于iOS 7替代CTCall?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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