I want to switch on bluetooth grammatically in iPhone. This is my code for that --
Class BluetoothManager = objc_getClass("BluetoothManager");
id btCont = [BluetoothManager sharedInstance];
[btCont setPowered:YES];
I put the .header files under Header flolder under following path :
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/PrivateFrameworks/BluetoothManager.framework/Headers
But the problem is that its giving me an error i.e. : 'BluetoothManager/BluetoothManager.h' file not found
So please let me know if I done something wrong here.
I found this all stuff from following link :
Programmatically turn on bluetooth in the iphone sdk?
Thank you very much In advance.