title: Swift iOS version availability - check from * to iOS 13
body: <p>I have tried to use such check to apply some code that should works only on previous versions of iOS before iOS 13 and it doesn't work correctly i.e. it is executed on iOS 13 </p>
  
  <pre><code>if #available(*, iOS 12) { }
  </code></pre>
  
  <p>I make a workaround like this </p>
  
  <pre><code>if #available(iOS 13, *) {
      /// Do nothing here
  } else {
  
  }
  </code></pre>
  
  <p>But i have additional curly braces block</p>