How to Create and Add an Apple Touch Icon for iOS Devices

How to Create and Add an Apple Touch Icon for iOS Devices

By Michael Chen

January 17, 2025 at 08:00 PM

iOS users can bookmark your site on their home screen as an icon using an Apple Touch Icon. Here's how to set it up:

Create a .png icon image that's not transparent, ideally matching your site's favicon or logo for consistency.

Upload the Icon:

  1. Open any page editor
  2. Add text for a temporary link
  3. Click the Link icon in the toolbar
  4. Select Files tab and click "Add File"
  5. Upload your touch icon image

Menu bar in grayscale

Menu bar in grayscale

Yellow arrow shows file upload button

Yellow arrow shows file upload button

Get the Icon URL:

  1. Click the linked text
  2. Copy the complete file URL

Save image dropdown menu

Save image dropdown menu

Add Code Injection:

  1. Open Code Injection panel
  2. Paste this code in Header field, replacing the URL:
<link rel="apple-touch-icon" href="/s/file-name.extension">

Code snippet with yellow highlight

Code snippet with yellow highlight

  1. Save changes

Test Your Icon:

  1. Visit your site on an iOS device
  2. Use Share option to add to home screen
  3. Verify icon appears correctly

iPhone lock screen

iPhone lock screen

Note: This customization requires basic coding knowledge. For additional help:

  • Review Apple's developer documentation
  • Visit Squarespace Forum
  • Follow custom code best practices
  • Consider hiring a Squarespace Expert

Related Features:

  • Favicon implementation
  • SEO optimization
  • Page load optimization
  • Google Search Console verification
  • Fluid Engine editing

Related Articles

Previous Articles