Detecting when Bluetooth is disabled on iOS5
        Posted  
        
            by 
                Non Umemoto
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Non Umemoto
        
        
        
        Published on 2012-04-02T00:26:21Z
        Indexed on 
            2012/06/25
            21:16 UTC
        
        
        Read the original article
        Hit count: 376
        
I'm developing blog speaker app.
I wanna pause the audio when bluetooth is disabled like iPod app. I thought it's not possible without using private api after reading this. Check if Bluetooth is Enabled?
But, my customer told me that Rhapsody and DI Radio apps both support it.
Then I found iOS5 has Core Bluetooth framework. https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CoreBluetooth_Framework/CoreBluetooth_Framework.pdf
CBCentralManagerStatePoweredOff status seems like the one.
But, the description says this api only supports Bluetooth 4.0 low energy devices. Did anyone try doing the same thing?
I want to support current popular bluetooth headsets, or bluetooth enabled steering wheel on the car. I don't know if it's worth trying when it only supports some brand new bluetooth.
© Stack Overflow or respective owner