As already mentioned, iPhone Safari displays the site very well. However, sites optimized or at least designed for 800x600 or more are not displayed at 320x356 in the iphone viewer. Lots of detail has been lost, and clicking on the links may be high and skip.
The best approach is to rewrite the main pages with a view of the iPhone in mind and only put the essential elements.
iPhone can be detected as follows:
$browser = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone"); if ($browser == true) { echo 'Code You Want To Execute'; } else{echo 'just carry on';}
And then the pages should be built by analyzing the basic elements of the website that the user might want when viewing on a device with a smaller form factor. Of course, links to the full site.
Apple can make recommendations for this, and of course, eBay has done some work that you can see by browsing there. In a short place here, I canβt talk in more detail about how you do this redesign, but about discussing it, analyzing the use of the site and communicating with users or site owners.
source share