remove:
Code: PHP
if(preg_match("/iphone/i",$_SERVER["HTTP_USER_AGENT"])) return false;

Add 'iphone' to $uamatches array