Here is code to add to the head of your doc to detect iPhone. Replace {stylesheet} with this to pull in a mobile stylesheet. More to come!

{if false !== $smarty.server.HTTP_USER_AGENT|lower|strpos:’iphone’}
{stylesheet name=’iPhone’ media=’screen’}
{else}
{stylesheet}
{/if}