WFWiFiManager: Difference between revisions

From iPhone Development Wiki
(Created page with "WFWiFiManager is a class found in the WiFiPicker service bundle (/System/Library/SpringBoardPlugins/WiFiPicker.servicebundle). This class handles WiFi related tasks such ...")
 
No edit summary
Line 1: Line 1:
[[WFWiFiManager]] is a class found in the WiFiPicker service bundle (/System/Library/SpringBoardPlugins/WiFiPicker.servicebundle).  
'''WFWiFiManager''' is a class found in the WiFiPicker service bundle (/System/Library/SpringBoardPlugins/WiFiPicker.servicebundle). <br/>
This class handles WiFi related tasks such as fetching the current network name, scanning of networks etc.
This class is used to perform WiFi related tasks such as scanning networks, retrieving the current network name etc. <br/>
You can access it via [objc_getClass("WFWiFiManager") sharedInstance]; (Have only tested this in SpringBoard).
 
It can be used to determine the known networks to the device via the "knownNetworks" method. You access this NSMutableArray via:
ex. usage [[objc_getClass("WFWiFiManager") sharedInstance] knownNetworks];
[[objc_getClass("WFWiFiManager") sharedInstance] knownNetworks];

Revision as of 06:15, 20 April 2013

WFWiFiManager is a class found in the WiFiPicker service bundle (/System/Library/SpringBoardPlugins/WiFiPicker.servicebundle).
This class is used to perform WiFi related tasks such as scanning networks, retrieving the current network name etc.

ex. usage [[objc_getClass("WFWiFiManager") sharedInstance] knownNetworks];