If you want your webapp to paint behind the status bar at the top of an iphone, you can just add these meta tags:
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style"
content="black-translucent">