iOS fallbacks

Apple iOS has a feature called “Add to Home Screen”, which basically makes your mobile website look like an app (it hides the browsers’ address bar and everything). You can tailor your web application for Safari on iOS even further, by making it appear like a native application when the user adds it to the Home screen. You do this by using settings for iOS that are ignored by other platforms.

Specifying Web App icons

Here’s an updated breakdown of the sizes (px) required:

  • 120x120: iPhone Retina (iOS 7)
  • 180x180: iPhone 6 Plus (iOS 8+)
  • 152x152: iPad Retina (iOS 7)
  • 167x167: iPad Pro (iOS 8+)

And the syntax:

<link rel="apple-touch-icon" href="older-iPhone.png"> // 120px  
<link rel="apple-touch-icon" sizes="180x180" href="iPhone-6-Plus.png">  
<link rel="apple-touch-icon" sizes="152x152" href="iPad-Retina.png">  
<link rel="apple-touch-icon" sizes="167x167" href="iPad-Pro.png"> 


See “Icons and images” section on iOS Human Interface Guidelines for current icon sizes and recommendations.

Other iOS configurations

  • Specifying Launch Screen Image
  • Specifying Launch Icon Title
  • Hiding Safari User Interface Components
  • Changing the Status Bar Appearance

Victor Dias

Sharing mobile Experiences

Follow me