views:

65

answers:

1

Could i disconnect to wifi progammatically in cocoa ?

+1  A: 

For the Mac, see the CoreWLAN Framework. Specifically the disassociate method of CWInterface. On the iPhone (since you tagged this cocoa-touch), I believe this operation is restricted (ie, no supported API exists for applications to configure network connectivity).

Joshua Nozzi
ok,i see, thanks.
www.ruu.cc