views:

281

answers:

1

I live in Canada, so am fortunate that I can tether. One issue is that to toggle tethering, you need to drill down four screens in Settings, which is just a big hassle.

A Google search returned nothing, so I was wondering if anyone here knew the code to turn on/off tethering?

I know there's a toggle for SBSettings, but I do not have a jailbroken phone, I just want to create an app I build onto my phone and have an icon for quickly toggling it.

Thanks

+1  A: 

You cannot alter phone settings from within an application using any APIs allowed by the iPhone SDK. As you point out - there is an SBSettings toggle - which relies on a Private API (which you agree not to use when you get the iPhone SDK from Apple, incidentally).

Lee
Well as long as it's not an App Store app, but something I just build for myself, it should be OK no?
Canada Dev
Yes, anything you build for yourself is OK to use private API's.
Kendall Helmstetter Gelner
Technically - no - you agree to not use them when you get the SDK. Not that they can really enforce it for use on your own phone.
Lee
Someone has an actual answer? *bump*
Canada Dev