Is there a way to toggle bluetooth and/or wifi on and off programmatically in iOS?
Thanks to Matt Farrugia (@mattfarrugia on Twitter) the answer I was looking for was: – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. #if TARGET_IPHONE_SIMULATOR exit( EXIT_SUCCESS ) ; #else /* this works in iOS 4.2.3 */ Class BluetoothManager = objc_getClass( “BluetoothManager” ) ; id btCont = [BluetoothManager sharedInstance] ; … Read more