应用程序在_CTServerConnectionCellMonitorGetCellInfo崩溃

时间:2012-01-13 05:05:41

标签: ios ipad core-telephony

您好我正在使用valexa和app的代码在获取信号强度时崩溃

这一行

if (!mach_port || !conn) return;

int count = 0;
_CTServerConnectionCellMonitorGetCellCount(mach_port, conn, &count);

if (count > 0) {
    int i;
    for (i = 0; i < count; i++) 
    {
        CellInfoRef cellinfo;

        _CTServerConnectionCellMonitorGetCellInfo(mach_port, conn, i, &cellinfo);

我从这里获取了代码

https://github.com/valexa/VAFieldTest

0 个答案:

没有答案
相关问题