title: How to detect iOS11 programmatically in Swift?
body: <p>I saw in the WWDC video that there's some new swift function to detect iOS 11 availability. </p>
  
  <p><strong>How do I detect iOS11 with Swift?</strong></p>