Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我没有找到这个简单的东西:我想检查用户是否有处于活动状态的 wi-fi,即使设备没有连接到互联网。
所以我不想测试互联网连接,但前提是“设置”切换状态打开/关闭)。
这可能会对 GPS 精度产生很大影响。
我认为这是不可能的(至少没有任何用于越狱 iPhone 应用程序开发的私有 API)
参考这个链接。
希望这能让你继续前进。
我觉得可达性是这种情况下最好的选择。这是一个链接