how to detect Safari on IPhone using jquery

how to detect Safari on IPhone using jquery

Dear all,
Recently, I have used jquery in my related tasks, I want to detect Safari mobile on IPhone and I have found this reference http://api.jquery.com/jQuery.browser/

I applied this code to my app and test on Iphone with three browsers Safari, Chrome, Mercury and it give the identical result,
CODE /////////////////////////////////////////////////////////////////////////////////////
<!DOCTYPE html>
<html>
<head>
 
<style>
  p
{ color:green; font-weight:bolder; margin:3px 0 0 10px; }
  div
{ color:blue; margin-left:20px; font-size:14px; }
  span
{ color:red; }
 
</style>
 
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
 

<p>Browser info:</p>


<script>
    jQuery
.each(jQuery.browser, function(i, val) {
      $
("<div>" + i + " : <span>" + val + "</span>")
               
.appendTo( document.body );
   
});</script>


</body>
</html>
END ////////////////////////////////////////////////////////////////////////////////////

==> Result (three browsers Safari, Chrome, Mercury and it give the identical result)
webkit: true
version: xxx.xx
safari: true; //always return true event the current browser is Chrome or Mercury.

My main task is: detect Safari only!

If you got some ideas, please help,

Thanks in advanced!

Regards,