Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

creganbrendan

macrumors newbie
Original poster
Nov 15, 2010
4
0
hi all,

have been trying to figure out how to create a boolean function that could control a switch that would say wether or not theres a wireless internet connection to a specific home network.

just wondering could anyone help me out!

Thanks

Brendan
 
well i just have a UISwitch in my interface and want a BOOL to control it, the BOOL in question would be wether or not there is a wifi connection.

I havent been able to dig up any information on coding for wifi connections.

Any help would be seriously appreciated
Thanks

Brendan
 
Look at the Apple reachability sample for checking for active connections. As for "BOOL to control it" that just isn't how things work. It is up to you to write your controller layer to keep the interface layer synced with the model layer.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.