以编程方式获得iPhone的运营商信号强度 [英] Programmatically getting the iPhone's carrier signal strength

查看:163
本文介绍了以编程方式获得iPhone的运营商信号强度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用Objective-C获取iPhone的载体和/或当前的信号强度?我知道如何确定数据连接是否存在,以及该连接是否是wi-fi与蜂窝连接。我也知道您可以通过转到手机应用程序手动将iPhone置于现场测试模式,并拨打#3001 * 12345 *#并点击发送。

Is there a way to get the iPhone's carrier, and/or the current signal strength, using Objective-C? I know how to determine if a data connection is present, and whether or not that connection is wi-fi vs. cellular. I also know that you can manually place the iPhone into "field test" mode by going to the phone app, and dialing #3001*12345*# and hitting Send.

推荐答案

你让我好奇,我发现它实际上是 * 3001#12345#* (哈希和星星交换过)。

You made me curious and I found out that it's actually *3001#12345#* (hashes and stars exchanged).

这篇关于以编程方式获得iPhone的运营商信号强度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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