Build native-looking apps for iOS
Lately, I’ve been messing around with cool HTML5 stuff a lot. One of the things that HTML5 is trying to reach, is the market of mobile devices. A long time ago (when I got my first iPhone), I wrote an article on how to add a webclip for easy access to your website. But since then, I’ve learned a couple of more things on how to build native-looking apps for iOS using only HTML.
I’ve created a template/boilerplate that you can use for your next project to create native looking apps for iOS (more specifically: Mobile Safari) using nothing but HTML. Simply build your website starting with this template, bookmark it and you’re done.
View or download the source code and read the comments carefully to see what’s needed to create a native looking app using only HTML.
If you don’t feel like fully digging into the source, but learn the pieces bit by bit, feel free to read on further. Take note that this will only work when the user bookmarks your webpage. The changes to any existing projects can be made easily, just make the following changes in the
head section of your page and you’re ready to go!