iPhone应用程序中的Wifi强度 [英] Wifi strength in iPhone app

查看:95
本文介绍了iPhone应用程序中的Wifi强度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有一些我可以在iPhone应用程序中使用的代码,让我看到wifi的强度?我有一个连接密集型操作,并希望它们不在一个不稳定的区域

Does anyone have some code I can use in an iPhone app that will let me see strength of wifi? I have a connection intensive operation and prefer they aren't in a spotty zone

推荐答案

我怀疑这是可能的。

iOS及其SDK将应用程序与执行(和查询)大多数系统级事物隔离开来。您可以做的是使用 [NSData dataWithContentsFromURL:...] 来执行一个或两个HTTP请求,以确保连接稳定,然后执行主数据传输。

iOS and its SDK isolate applications from doing (and querying) most system-level things. What you could do is to use [NSData dataWithContentsFromURL:...] to do one or two HTTP requests to ensure that the connection is stable and then do the main data transfers.

这篇关于iPhone应用程序中的Wifi强度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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