Can the iPhone SDK obtain the Wi-Fi SSID currently connected to?

前端 未结 3 1430
情歌与酒
情歌与酒 2020-11-28 07:38

In the iPhone SDK I don\'t see the same SCDynamicStore used on Mac OS X to get the SSID name that your wireless network is currently connected to isn\'t availab

3条回答
  •  误落风尘
    2020-11-28 08:10

    After digging around I found the anser to this. There are unpublished APIs in the Preferences framework. For examples of this one can look at the Stumbler code hosted on Google Code.

    I filed a radar with Apple (#6407431/OpenRadar version) that was marked as a duplicate of #5814810). If you want this officially supported then please also file a radar at bugreport.apple.com.

    Update: The above Stumbler code is for 1.x revision iPhone OS SDK. For iPhone OS 2.0 and beyond developers will have to look in PrivateFrameworks/Apple80211.Framework and all that implies.

提交回复
热议问题