Skip to content

[Bug] iOS "Add to Home Screen" shows a text-letter icon instead of the logo (no apple-touch-icon) #17773

Closed

Description

@PoorReno

Summary

On iPhone, Safari → Share → Add to Home Screen generates a placeholder icon with the first letter of the page title ("U") instead of the Studio logo. The web app manifest from #13360 is served correctly, but WebKit still falls back to text because index.html has no <link rel="apple-touch-icon">.

Repro

  1. Open the Studio web UI over HTTPS on an iPhone (e.g. via a tailnet/tunnel URL).
  2. Safari → Share → Add to Home Screen ("Open as Web App" on).
  3. The icon preview shows a dark squircle with a white "U", not the logo.

Evidence

  • studio/frontend/index.html (main): only <link rel="icon"> and <link rel="manifest">; no apple-touch-icon link anywhere in the repo.
  • /manifest.webmanifest serves 200 as application/manifest+json with pwa-192.png / rounded-512.png, both serving fine as PNGs — but iOS A2HS ignores manifest icons without an apple-touch-icon (observed on iPhone, iOS 27.2 (24B119)).
  • Adding <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> plus a 180×180 asset locally restores the proper icon — verified: after the change, A2HS shows the logo.

Suggested fix

  • Add studio/frontend/public/apple-touch-icon.png (180×180, full-bleed — generable from the existing rounded-512.png).
  • Add the <link rel="apple-touch-icon"> tag next to the favicon/manifest links in index.html.
  • Extend tests/studio/test_pwa_manifest.py to assert the link is present and the asset exists at 180×180.

Cosmetic only — no functional impact; just makes the installed home-screen app look right for iOS users.

Activity

  1. NilayYadav commented on Nov 14, 2026

    @NilayYadav
    Collaborator

    I tried this on an iPhone and the Unsloth logo shows up fine on Add to Home Screen using Safari

  2. added a commit that references this issue on Nov 15, 2026
    27cba50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions