Turning Wi-Fi ON/OFF

Discussion in 'iPhone/iPad Programming' started by CarlosH, Aug 29, 2008.

  1. macrumors member

    Joined:
    Apr 9, 2008
    #1
    Hi all. Is there a way to turn on wi-fi from my app? So if for example a user has his wi-fi off, but my app needs it, can I turn it on? Or is not available on the sdk?


    Thanks in advance.
     
  2. macrumors 68020

    JML42691

    Joined:
    Oct 24, 2007
    #2
    I do not believe that you can, I am almost certain that it has to be the user that goes into the Settings app and turns the wifi on, I do not believe that you can do it automatically.
     
  3. thread starter macrumors member

    Joined:
    Apr 9, 2008
    #3
    That's what I thought, since didn't found anything in the sdk, but was hoping I overlooked something. Thanks.
     
  4. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
  5. macrumors 68020

    ChrisBrightwell

    Joined:
    Apr 5, 2004
    Location:
    Huntsville, AL
    #5
    ^ Can you point to a document asserting that you can't?

    I've been looking, but can't find it.
     
  6. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #6
    In general the documentation doesn't say what you can't do, only what you can. If it doesn't say you can do X then most likely you can't
     
  7. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #7
    Plus it goes against Apples software philosophy. Remember that the user should always be in control. If they turn Wifi on or off then chances are that that is the correct setting. Developers should not try and change user defined settings.
     

Share This Page