title: Detecting if Wifi or Bluetooth is turned on or off by the user
body: <p>How can we determine if Bluetooth or Wifi was turned on/off using the Swift language?</p>
  
  <p>My application uses Bluetooth or Wifi to communicate with other devices. We have no problem with these communications, but we would like to inform the user if Wifi and/or Bluetooth is turned off (when the user is using the application). I haven't been able to do this in Swift. </p>