Possible Duplicate:
Is there any way to switch on/off bluetooth in iPhone programmatically?
Is there a way to code for switching bluetooth ON/OFF for iPhone, which is acceptable for AppStore?
I want to switch ON/OFF bluetooth in my app, but I heard that AppStore rejects the applications which used private framework for this purpose. Is there any acceptable way of achieving this? Please provide me a guid/sample if it's possible.
The CoreBluetooth.framework that I can add as link library, does that works for all iOS versions?