Detecting Wi-Fi signal strength on iPhone
I have seen this 开发者_C百科post which referes to private APIs to achieve what am after
Wifi strength in iPhone app
but wanted to know if there is a legal way to do this. Looked around but could not find anything yet. I hope some one can give a hint
Cheers AF
I think you can use another way instead. For example you can post a request. Calculate the time when you get the respond.
Maybe you post a request to http://stackoverflow.com And you get the respond in 1.0s, assign the wifi is very strong. In 5.0s,assign the wifi is weak.
Maybe the way is not exact but is useful. sorry for my poor English :)
I've searched through all the relevant bits of the SDK and there is nothing. And as you know, if it's not in the SDK and you use it your app will not get approved.
精彩评论