views:

34

answers:

0

My app uses local Bluetooth to propogate data to a closed network, but it understandably crashes the program if you try and create a new network when Bluetooth is unavailable. I've no idea WHY Bluetooth is unavailable, incidentally, as it's turned ON in the iPod preferences and the symbol is showing up, but there you go. What I want to know right now is how can I detect if Bluetooth is unavailable so that I can react appropriately and prevent the app from doing anything stupid?

I'll worry about if my iPod is broken or not later.

-Ash