Skip to content

iOS launch image for the Home Screen app #255

Closed

Description

@HMarzban

Parent

#249 Deepen the installed PWA.

What to build

Add three apple-touch-startup-image links so an iOS Home Screen launch is not a blank white flash. Android already uses the manifest background_color.

Acceptance criteria

  • Three portrait PNGs, logo centered on #ffffff, generated from public/icons/logo-apple-touch.svg (do not reuse the 180px touch icon as the splash):
    • /icons/apple-splash-1290x2796.png — 1290×2796, media (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3)
    • /icons/apple-splash-1179x2556.png — 1179×2556, media (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3)
    • /icons/apple-splash-1170x2532.png — 1170×2532, media (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3)
  • _document.tsx links those images. Apple ignores the manifest for this.
  • iOS Safari tab (not installed) is unchanged.
  • macOS Safari is unchanged.

Out of scope

  • Dark splash set
  • iPad size matrix
  • Landscape set
  • Electron or a store app

Activity

  1. HMarzban commented on Sep 9, 2026

    @HMarzban
    CollaboratorAuthor

    Spec review: three iPhone portrait sizes and paths. Generate from logo-apple-touch.svg. No iPad or dark set.

  2. added this to the v2.3.0 milestone on Oct 24, 2026
  3. HMarzban commented on Oct 26, 2026

    @HMarzban
    CollaboratorAuthor

    Built and committed on local main. Awaits the maintainer's final push.

    The iOS Simulator check found a gap. Only 3 iPhone sizes had a launch image, so an iPhone 17 Pro cold-launched to a black screen. The fix adds 5 sizes (440x956, 402x874, 420x912, 428x926, 375x812). On the local build, the iPhone 17 Pro Home Screen app now cold-launches to the logo on white.

    Remaining gate: the webapp deploy, then one cold launch on a real iPhone.

  4. HMarzban commented on Nov 3, 2026

    @HMarzban
    CollaboratorAuthor

    Status, 2026-11-03. The launch images for 8 iPhone sizes shipped in 03ee79976, with the changelog in 2c5b73ff4. They are pushed and deployed. Left:

  5. HMarzban commented on Nov 3, 2026

    @HMarzban
    CollaboratorAuthor

    #355 device check, 2026-11-03. Run on the local stack (production build), on an iOS simulator. The maintainer accepts simulator results for this row.

    Device: iPhone 16 simulator (393 × 852 pt @3x, iOS 26.5), the width #355 names. The page serves apple-touch-startup-image /icons/apple-splash-1179x2556.png for exactly that media query.

    Steps: Safari → Share → Add to Home Screen (Open as Web App on). Reboot the simulator so the app has no process, then cold launch the Home Screen icon while recording frames with simctl io screenshot.

    Result: frames 2 to 7 (about 1.5 s) show the docs.plus logo on white. Then the page paints. No blank or black screen.

    Note: an earlier single-screenshot check on the iPhone 17 Pro simulator (402 pt) caught one black frame. That was not a recording, so it proves nothing either way for that size.

    The row left in the 11-03 status passes, so this closes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureMobileSafariUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions