Make your website an iPhone web application
These are a lot of tips to make your website an iPhone app so users can save it on their Home screens and access to your site faster.
Specifying a Webpage Icon for iPhone Home
We have two ways to design a custom icon that users can display on their Home screens using the Web Clip feature:
- a simple image where iPhone 1.1.3 and later automatically adds some visual effects so that it coordinates with the built-in icons. Specifically, iPhone 1.1.3 adds:
- rounded corners
- drop shadow
- reflective shine
This is the image for Luscarpa.com:

and this is how it is on iphone home screen:

- an image precomposed, to this image iPhone doesn’t add effects.
This is the image precomposed for Luscarpa.com:

and this is how it is on iphone home screen:

How we can provide this image? There are two ways:
- place an icon file in PNG format in the root document folder called
apple-touch-icon.pngorapple-touch-icon-precomposed.png. With this method you specify an icon for the entire website (every page on the website), - add a link element to the webpage, as in:
<link rel="apple-touch-icon" href="/custom_icon.png"/>
or
<link rel="apple-touch-icon-precomposed" href="/custom_icon_precomposed.png"/>
With this code you specify an icon for a single webpage or replace the website icon with a webpage-specific icon.
Hide Safari Components
Add this line if you want that your web app/website don’t show the safari user interface components:
<meta name="apple-mobile-web-app-capable" content="yes" />
Status Bar Appearance
You can change the Status Bar of web app/website using the following line of code:
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
There are three different colors:
1default
2black
3black-translucent
NOTE: If set to default or black, the web content is displayed below the status bar. If set to black-translucent, the web content is displayed on the entire screen, partially obscured by the status bar.
Specifying a Startup Image
On iPhone OS, similar to native applications, you can specify a startup image that is displayed while your web application/website launches. By default, this image is a screenshot of the web application with the page that the user has visited the last time. If you want customize it, add a link element to the webpage, like this:
<link rel="apple-touch-startup-image" href="/startup.png">
Here an example of my custom startup:

The image must be a png file and his dimensions 320 x 460 pixels in portrait orientation.
NOTE: this option works only if apple-mobile-web-app-capable is set to yes
Standalone Detection
You can develope custom features or effects for your standalone version of site, you can detect it using the boolean var window.navigator.standalone from javascript.
Note & Conclusion
All these tips only works for web pages that have been saved to the home screens and opened from there, if you access to your website using safari you don’t have this customizations. Remember also that any new link will be open in new browser tab so you lost these settings.
Is my opinion that if you develop a strongly ajax-oriented web application, so to avoid the users from stressing clicking and page refresh, allowing them to use just the “first page” , all these settings can be make your app amazing.
This website uses these options, you can test them adding it to your home screen of iPhone/iPod Touch, actually I’m using wordpress so there isn’t a customization to load all site with ajax so you can see the home page like web application, but if you click on a post link you will be redirect to safari.
Tarig Ali September 25, 2011 13:39:24
Hi,
Any program can help me to build a game in iphone direct from starting point not to convert??
Thanks
Farshid September 26, 2011 17:10:08
That was so helpfull. Thanks alot.
marcos October 8, 2011 14:18:14
this is great!
one thing though, when you set the safari bar to be hdden, you loose the print feature, is there a way to control that?
Jennifer M October 13, 2011 20:04:16
Hi! Awesome post – I just have one question – How do you specify a name for the icon other than the Title of the page?
Luscarpa October 14, 2011 06:59:32
The app uses the name of the title of the page, but the users can change it like when they change the name of folders
Eli February 15, 2012 15:31:36
Hi great stuff i hope you can help with this one
so i need htaccess file to redirect visitors when they try to view your WebApp on a PC.
can you please help with that
thank you
MobileAdvertisingAPPs.com October 13, 2011 23:50:23
Luca love ur blog – thanks for all u do. Sorry about ur iPhone now u can have a 4GS
I want to know how to use a web app and take advantage of Notification Pop ups. I use another website for my redirects. 1 of my apps is uses some Twitter stuff & I would like a pop up to pop up on my iPhone when 1 of the 3 twitter feeds gets a new tweet. Even when I am not in that APP – BUT just have my iPhone on.
You can view my app at http://www.getvips.com/twitterapp.
Also for everyones info when we post a question will the answer be emailed to us along with being posted to ur blog?
Luscarpa October 14, 2011 07:03:14
At the moment there isn’t a way to use notifications via webapp, notifications request a special code inside the iphone app. Sorry but this is one of the negative points of web apps.
travis October 20, 2011 21:28:10
is there a way to create an actual text link that will do the bookmark ordeal without the user clicking through several screens in order to save the site to their ‘screentop’?
MobileAdvertisingAPPs.com October 23, 2011 05:46:02
Did u get my email for a projects specifications.
John October 24, 2011 17:46:16
Thanks a lot! This tutorial was excellent.
Michael October 27, 2011 01:28:36
Hallo,
ich komme aus deutschland und versuche ein web app zu erstellen,aber mein problem ist das der splashscreen nicht funktioniert.It ist 320×460 und ist eine png datei.
folgender code ist in eingebaut
Hockey Frogs e.V.
@import “iphonenav.css”;
But is doesn´t work,can you help me pls ??
Davide November 12, 2011 22:38:17
Hallo Michael,
splashscreen funktioniert nur wenn die webapp in der Startseite ist. Hast du versucht das?
tarig November 8, 2011 16:30:26
Thanks we use the same
vinux November 11, 2011 06:55:42
is there a way to create an actual text link that will do the bookmark ordeal without the user clicking through several screens in order to save the site to their ‘screentop’?
leo November 14, 2011 08:10:24
very good! thanks.
Justin G November 21, 2011 18:03:51
Is there anyway to have any kind of link to allow to load a different page in the web app view? Without it going into safari?
Tarig November 21, 2011 22:13:02
Hi,
Any program can help me to build a game in iphone direct from starting point not to convert??
Thanks
earl November 25, 2011 01:22:00
i found simple courses on how to make apps from this site its working well for me so far hope it helps
John December 2, 2011 15:47:53
this was very helpfull thanks alot
Lindsey December 2, 2011 18:09:58
I have a question…. what resolution should you use when creating a graphic for an iphone app and/or a mobile site. I had someone ask me to create a graphic that was 240×40 with a ton of text and they are complaining because it’s not clear. My educated guess is that it’s not clear because it’s so tiny. Any suggestions???
Steve Lovelace December 5, 2011 05:40:51
Thank you, Luca! That was surprisingly easy. Even if I’m the only one in the universe who puts my blog on my iPhone Springboard, it still looks a lot better than the thumbnail of the webpage that iOS made for me.
Mark Ransom December 5, 2011 16:36:51
To stop a particular link from opening safari simply add target=”_webapp”
Using this on all your internal links you can make your entire site appear to be working outside of safari. Going a step or 3 further you can design a version of your website geared toward iphones.
If interested search out Jonathan Stark’s “Building iPhone Apps with HTML, CSS, and JavaScript”
iBricklandNet December 21, 2011 09:47:30
Please contact back to me for farther instructions how to apply this software to my website.
Chears
Jessica K. December 27, 2011 08:09:13
I use SwatchPix.com to create Webclips, it’s a simple tool and quick.
karthick January 2, 2012 11:51:02
can i use single license iPhone app key for 5 different domains
Richindesign January 9, 2012 23:23:58
This is a great tutorial i just recently set the wordpress plugin up on my own site and it didnt have theese features
Adajah July 2, 2012 21:40:43
The abitliy to think like that shows you’re an expert
Nicky January 17, 2012 10:54:35
Cool! But you should also know that you can create a web site that will look feel and function exactly like a native iPhone app – a Web-app! I found a good article that describes the process:
http://www.finallyiphone.com/apps-development/
It’s really cool and easy!
Bruno January 31, 2012 19:07:21
Ciao Luca,
very nice walkthrough.
I’m italian but gonna write in english so what we type here could be helpful to everyone.
My website is prestashop based. It’s also hosted on my own unix server. it’s a subfolder in my www.
i’ll explain it better: the main website is voltumna.cjb.net
e-piazza.biz domain is redirected to voltumna.cjb.net/e-piazza
what you see on e-piazza homepage is in voltumna.cjb.net/e-piazza/themes/prestashop/header.tpl
there is also index.tpl but it just as a HOOK Header
i’ve dropped the icon.png (for ipod ipad and iphone4) either in e-piazza folder and in prestashop where header.tpl is. i’ve even used an universal link http://voltumna….png but still no success.
any idea?
seo January 31, 2012 19:58:26
Greetings! I’ve been reading your site for a long time now and finally got the bravery to go ahead and give you a shout out from Austin Texas! Just wanted to mention keep up the good job!
Kevin Norlander February 9, 2012 07:38:54
Thanks for the information Luca!
Quick question, is there anyway to make the startup image last longer?
Thanks!
Mobile app Builder February 16, 2012 06:42:27
Thanks for sharing your valuable experience with developers. I am only curious to know how do you manage to assemble a team from all over the world?
iphone app development February 24, 2012 05:35:10
cool your blog is really impressive please post some more informative blogs
arbhd March 1, 2012 13:02:14
is there a ready made programe can do that app for me ??
Angella March 7, 2012 05:02:17
Hello. excellent job. I did not anticipate this. This is a excellent story. Thanks!. Astrid @
Tarig Ali March 22, 2012 11:10:22
nice and updated on my website http://www.swqee.com
web development consultant April 1, 2012 22:39:30
Hey there, You’ve done an incredible job. I’ll certainly digg it and for my part suggest to my friends. I’m confident they’ll be benefited from this site.
Earvin Ian Candava April 4, 2012 17:04:12
… Has turned into a tremendously common iphone app. Customers are thrilled with all the product … Check out the galaxy s ii * a comparison assessment ; a look at the fresh Sparrow request for your iphone 4 Siphone apps
icon packs April 5, 2012 01:20:43
I like the helpful info you provide for your articles. I’ll bookmark your weblog and take a look at again here frequently. I am moderately certain I will be informed many new stuff proper here! Good luck for the next!
scharfecams April 5, 2012 11:21:03
hey there and thanks on your information ? I’ve definitely picked up something new from proper here. I did then again expertise a few technical points the usage of this web site, as I skilled to reload the web site many occasions prior to I may just get it to load correctly. I were wondering in case your hosting is OK? Not that I’m complaining, but sluggish loading cases occasions will sometimes have an effect on your placement in google and can damage your quality score if ads and marketing with Adwords. Anyway I’m including this RSS to my e-mail and can look out for a lot extra of your respective fascinating content. Ensure that you replace this once more very soon..
here April 19, 2012 12:39:21
I am not positive the place you’re getting your information, however great topic. I must spend a while studying much more or figuring out more. Thanks for great information I was searching for this info for my mission.
Develop iPhone App April 27, 2012 09:42:44
I really agree with your blog.This is a great tutorial i just recently set the wordpress plugin up on my own site and it did not have these features.Thanks!!
Android Mobile Apps
Turban April 29, 2012 23:36:37
Woah this weblog is magnificent i like studying your posts. Stay up the great paintings! You already know, a lot of individuals are hunting around for this info, you could aid them greatly.
tv enclosure April 30, 2012 04:35:54
Hello there, I discovered your web site via Google while looking for a related subject, your web site got here up, it seems great. I’ve bookmarked to my favourites|added to bookmarks.
iPhone game reviews May 4, 2012 00:25:14
You actually make it seem so easy together with your presentation however I find this topic to be really something that I believe I’d never understand. It seems too complicated and extremely large for me. I am looking forward on your subsequent put up, I will try to get the hang of it!
garethdain May 5, 2012 19:25:30
hello paul here is there site details,give them a call ,say garth d recommened you
Hostingwebitalia May 8, 2012 18:55:19
Hi , Superb article !
have an affair May 12, 2012 05:34:51
I am extremely inspired with your writing skills and also with the format in your blog. Is this a paid subject matter or did you customize it yourself? Anyway stay up the nice quality writing, it is rare to see a great blog like this one these days..
easy vape May 12, 2012 11:13:07
Great web site. Plenty of helpful information here. I’m sending it to several buddies ans additionally sharing in delicious. And naturally, thank you to your sweat!
Thailand Ko Samui May 12, 2012 16:30:48
appreciated this post and i really don’t want to be that person… nonetheless i do believe possibly your site could look a little bit better if you would have a litte gray in it. Simply just my suggestion, definitely liked the article otherwise
All the best.
blue lotus effects May 13, 2012 21:19:15
I’ve been surfing online greater than 3 hours as of late, yet I by no means found any attention-grabbing article like yours. It’s beautiful worth sufficient for me. In my opinion, if all web owners and bloggers made good content material as you did, the net might be a lot more helpful than ever before.
herbal incense May 14, 2012 10:33:06
Its like you read my mind! You appear to know a lot approximately this, like you wrote the e-book in it or something. I believe that you simply can do with some % to power the message house a little bit, however other than that, this is wonderful blog. A great read. I’ll certainly be back.
David May 16, 2012 02:22:00
Hi,
I’m looking for something that will allow someone to fill out a form with 3 or 4 questions on it and them it will sms or message it to me.
Does this do that, if not can you direct me please.
Thanks. and great you are for Open Source
David
Howardheatem May 17, 2012 16:15:57
hello there gary here is the site details, there very helpfull ,say Howard h told you to ring