title: Detect if the user is navigating through the safari mobile browser on iphone
body: <p>I am trying to detect if the user is navigating my website from safari browser on the iphone using jquery / javascript.</p>
  
  <p>I am able to detect the IOS Environment using the user agent string</p>
  
  <p><code>/iphone/i.test(navigator.userAgent.toLowerCase())</code></p>
  
  <p>But this detects the Apple Webkit Environment i.e. it is same for all the browsers on the device. Can anyone suggest any different approach. </p>