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 ...")
 
m (Link is dead)
 
(7 intermediate revisions by 2 users not shown)
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.servicebundle|WiFiPicker]] service bundle. '''WFWiFiManager''' is used to perform WiFi related tasks such as scanning for and retrieving lists of networks. As it is a {{applink|SpringBoard}} plugin, it is not accessible elsewhere.
This class handles WiFi related tasks such as fetching the current network name, scanning of networks etc.
 
You can access it via [objc_getClass("WFWiFiManager") sharedInstance]; (Have only tested this in SpringBoard).  
== Example Usage ==
It can be used to determine the known networks to the device via the "knownNetworks" method. You access this NSMutableArray via:
<source lang="objc">
[[objc_getClass("WFWiFiManager") sharedInstance] knownNetworks];
[[objc_getClass("WFWiFiManager") sharedInstance] knownNetworks];
</source>
{{occlass|library=WiFiPicker.servicebundle|navbox=1}}

Latest revision as of 03:41, 25 August 2013

WFWiFiManager is a class found in the WiFiPicker service bundle. WFWiFiManager is used to perform WiFi related tasks such as scanning for and retrieving lists of networks. As it is a SpringBoard plugin, it is not accessible elsewhere.

Example Usage

[[objc_getClass("WFWiFiManager") sharedInstance] knownNetworks];