Site-Specific-Browser für das iPhone via Meta-Tag

Sonntag, 5 Oktober 2008 21:05 - Geschrieben von René Lindhorst

Sehr interessant, es gibt ein spezielles Meta-Tag mit dem man Webseiten im Vollbildmodus auf dem iPhone (ab OS 2.1) nutzen kann. Sowohl die Adressleiste als auch die Bedienelemente am unteren Bildschirmrand werden dabei ausgeblendet. Auf diese Weise lassen sich Site-Specific-Browser (SSB) für das iPhone erzeugen:

If you include this meta tag in your iPhone-optimized web app:

<meta name=”apple-mobile-web-app-capable” content=”yes” />

Then, if you use the Add to Home Screen feature, it will launch as its own standalone app, with no Safari browser chrome. It’s a way to make site-specific browsers for the iPhone. They run as their own processes, outside MobileSafari.

[Daring Fireball: Meta Tag Allows Full-Screen iPhone Web Apps]

Screenshots und weitere Details gibt es bei AppleInsider und natürlich in Apples Dokumentation Safari Web Content Guide for iPhone OS unter dem “Punkt Hiding Safari User Interface Components” (Seite 74).

Ähnliche Beiträge:

Schreib doch einen Kommentar!

Erlaubte HTML-Tags:
Fett: <b>Text</b>
Link: <a href="http://">Link</a>
weitere: <blockquote cite=""> <code> ...