What is the iOS API for scanning available wi-fi networks

前端 未结 2 1221
一向
一向 2021-01-03 06:34

That\'s the question, but here\'s the long version: I\'m working on a project that needs to mimic the connection workflow of the Belkin Wemo. The Wemo is a physical switch t

相关标签:
2条回答
  • 2021-01-03 06:42

    As question is very old and Apple has come with new advances in iOS.

    It is now possible to scan the wi-fi using NEHotspotHelper (Apple Doc). But you still need permission from Apple to use this extension as NEHotspotHelper is special API with some guidelines (link).

    Apple TQ & A

    0 讨论(0)
  • 2021-01-03 06:48

    There is no public API in iOS currently that can do this (used to be available pre iOS 5). You can check out a third party library like Stumbler which should help you achieve the viewing of networks: http://code.google.com/p/iphone-wireless/wiki/Stumbler

    0 讨论(0)
提交回复
热议问题