2

嗨,我正在使用 valexa 的代码和应用程​​序在获得信号强度时崩溃

这条线

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

4

0 回答 0