title: How to detect mobile safari browser in ios 7?
body: <p><strong>What is the official method to detect mobile safari on ios7?</strong></p>
  
  <p>For example: </p>
  
  <pre><code> navigator.userAgent.match(/(iPod|iPhone|iPad)/) 
   &amp;&amp; navigator.userAgent.match(/AppleWebKit/) 
   &amp;&amp; navigator.userAgent.match(/OS 7/)
  </code></pre>