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

Becha

macrumors newbie
Original poster
Aug 20, 2008
2
0
Sweden
Hello,
I am fairly new to making apps to the iPhone and has run in to some problems.

The apps i am working on need a wifi or 3G connection, i can find out if the iPhone is connected to wifi or 3G by looking in the Reachability sample.

Now my question:
Is it possible to enable wifi or 3G if they are switched off in the settings?

Best Regards Becha
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
No, you cannot override the users choice of setting. If you need a WiFi or 3G connection and one is not available simply put up an alert telling the user that.
 

Becha

macrumors newbie
Original poster
Aug 20, 2008
2
0
Sweden
Okey, i though i wasnt able to play with those settings :)
But then i will display i warning and tell the user to enable either wifi or 3G

Thanks for your answer
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.