title: How to detect if the internet connection is over WiFi or Ethernet?
body: <p>Is there a way to open network settings programmatically? Closest thing I know is opening the main settings page:</p>
  
  <pre><code>let settingsURL = NSURL(string: UIApplicationOpenSettingsURLString)!
  UIApplication.sharedApplication().openURL(settingsURL)
  </code></pre>
  
  <p>I want to be able to detect if the internet connection is over WiFi or Ethernet.</p>