to get near by wifi list and connect one of them.

Hi I am developing iOS app for Camera Device (i need to connect with camera device like go pro). I need to present list of nearby wifi devices in the app. Based on discussions in developer forum, l understand that iOS policy discourage use of third party API and there is no support in native APIs for achieving this. Has anyone successfully tried recently? Appreciate any help in this.

I need to present list of nearby wifi devices in the app. Based on discussions in developer forum, l understand that iOS policy discourage use of third party API and there is no support in native APIs for achieving this.

Right, as QA1942 explains, there is no iOS API to scan for a list available Wi-Fi networks in an area. There are a few alternatives in this case for associating with a known SSID such as a camera device:

  1. Use NEHotspotConfiguration to use a predefined SSID and passphrase to create the network configuration directly from the app and then perform the association to the network.

  2. Use NEHotspotConfiguration with a prefixed SSID: init(ssid:passphrase:isWEP:) so that the app can associate with networks like the following: camera_123, camera_456, and camera_789 if you define the prefixed network like so: camera_.

  3. Alternatively you can setup the camera to communicate the SSID of the network to your app with a communication channel like Bluetooth, but that would assume that you have control over the device.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
to get near by wifi list and connect one of them.
 
 
Q