5

I need to turn on or off the wifi in the iphone. Any ways of doing it? Or is it forbidden (private framework)

Felipe Sabino
  • 17,825
  • 6
  • 78
  • 112
xmorera
  • 1,933
  • 3
  • 20
  • 35

1 Answers1

8

All applications written with the public SDK are sandboxed. They only have access to the properties and data which Apple deems feasible to use within that sandbox. I am afraid Wi-fi doesn't come in the list

Pls take a look at this SO question iPhone Wi-Fi Manager SDK and this discussion

Community
  • 1
  • 1
visakh7
  • 26,380
  • 8
  • 55
  • 69
  • 4
    In short: Apple doesn't allow fiddling with WiFi, the corresponding framework is private and your app will be rejected if you use it. – DarkDust May 11 '11 at 12:14
  • 1
    Thanks for the response. Too bad I can't. Worth asking though! – xmorera May 12 '11 at 22:31