Platform in Platforms
PWAs on iOS by version (iOS 11.3 to iOS 27)
Published Updated
What a web app can do on an iPhone depends on both the iOS release and the manifest it ships. Releases added capabilities such as service workers, push, badging, and revised storage quotas, while manifest members affect its display mode, icon, and identity. Choose a minimum iOS version according to the capabilities your app needs.
How it works
Section titled “How it works”iOS releases changed runtime capabilities, with two exceptions. The iOS 17.4 removal of Home Screen web apps in the European Union was announced and withdrawn before release. iOS 27.1 is the release Apple names for iPhone Duo, but Apple has published no separate Safari release notes for it. Use capability checks to enforce a support floor without reading the user agent string.
Before service workers: iPhone OS 1.1.3 and 2.1
Section titled “Before service workers: iPhone OS 1.1.3 and 2.1”WebKit’s Safari 26.0 feature post records that
iPhone OS 1.1.3 (January 2008) let users add website icons to the Home Screen, where tapping one
opened the site in Safari, and that iPhone OS 2.1 (August 2008) let a developer ask for an
app-like standalone mode with the apple-mobile-web-app-capable meta tag. Those releases established a pattern that later releases adjusted. The user performs the add;
the page’s markup only influences the result.
iOS 11.3: service workers and the Cache API
Section titled “iOS 11.3: service workers and the Cache API”Service workers reached iOS in the 11.3 beta, announced in
Workers at Your Service (February 2018).
They run in Safari, applications using SFSafariViewController,
and web applications saved to the Home Screen. WebKit
partitions service workers and their clients by the top-level document origin in addition to the
origin required by the specification, so an example.com frame inside a webkit.org page gets
its own partition. The Cache API quota in that release was a fixed 50 MiB per partition, and once
reached, a storage operation needing space fails until the page evicts entries itself. WebKit also
removes service worker registrations that go unused for a few weeks, and caches that are not
opened for a few weeks, so an offline-first app has to tolerate losing either at any time.
iOS 11.4: the Web Application Manifest
Section titled “iOS 11.4: the Web Application Manifest”The W3C began standardizing Web Application Manifests in 2013, browser support started in November
2014, and Safari adopted the format in March 2018 with iOS 11.4, as the Safari 26.0 post records.
From that release the manifest joined the apple-mobile-web-app-capable meta tag as a way to
decide whether an added icon produced a web app or a bookmark: the post’s wording is that for the
last 17 years a site needed either the meta tag or a manifest display value to open as a web app.
That rule held until iOS 26 moved the decision to the user.
iOS 15.4: manifest timing and manifest icons
Section titled “iOS 15.4: manifest timing and manifest icons”Two changes in Safari 15.4 affect how the manifest is read. The browser now fetches the manifest
during page load rather than at the moment the user chooses Add to Home Screen, which lets the
file describe a page viewed in Safari as well. Icons declared in the manifest also became usable.
Safari and iOS use them when no apple-touch-icon is defined in the HTML head and the manifest’s
icon entry either omits purpose or sets "purpose": "any". An apple-touch-icon link still
takes precedence, deliberately, so a site can keep an iOS-specific icon distinct from the one
other mobile platforms get.
iOS 16.4: push, badging, and manifest identity
Section titled “iOS 16.4: push, badging, and manifest identity”Safari 16.4 added Web Push
for web apps added to the Home Screen, built on the Push API, the Notifications API, and service
workers, with notifications appearing on the Lock Screen, in Notification Center, and on a paired
Apple Watch, and configurable through Focus. It added the Badging API for Home Screen web apps,
with permission granted automatically once the user allows notifications. It added support for the
manifest id member so that several installs of one web app stay distinguishable. And it let
third-party browsers offer Add to Home Screen from the Share menu.
iOS 17: the storage quota rewrite
Section titled “iOS 17: the storage quota rewrite”The quota numbers changed in Safari 17.0 and in WebKit apps on iOS 17, documented in
Updates to Storage Policy. A browser
app, meaning one that can be set as the default browser, gets an origin quota of up to 60 % of
total disk space and an overall quota of up to 80 %; other apps get up to 15 % and 20 %. A
cross-origin frame sits in its own partition at 10 % of the main frame’s origin quota. The release
also stopped prompting users about a site wanting more space, and brought full support for the
Storage API, with navigator.storage.persist() granted on heuristics that include whether the
site is open as a Home Screen web app. A web app running standalone gets the same origin and
overall quota it would have inside the browser app, so installing does not buy extra room.
iOS 17.2: cookies copied at install
Section titled “iOS 17.2: cookies copied at install”WebKit’s Safari 17.2 post brought the macOS “Add to Dock” behaviour to iOS 17.2 and iPadOS 17.2. When a user taps “Add to Home Screen” and creates a web app, “the cookies are copied over, including the information about login state”, and “No other kind of local storage is copied over” (WebKit Features in Safari 17.2, webkit.org). A sign-in held in a cookie therefore survives installation; one held in script storage does not, and after creation the two stores are separate. The OpenPWA device test reproduced this on iOS 18.6.2, with each installed copy keeping its own cookie store (study, notebook N18 to N22).
iOS 17.4 in the EU: a removal announced and withdrawn
Section titled “iOS 17.4 in the EU: a removal announced and withdrawn”In February 2024 Apple said Home Screen web apps would be removed for users in the European Union as part of its Digital Markets Act compliance. Its developer support page gave the decision in these words: “to comply with the DMA’s requirements, we had to remove the Home Screen web apps feature in the EU”, adding that EU users would reach websites “through a bookmark with minimal impact to their functionality”. The stated reason was that handling the security and privacy concerns of web apps using alternative browser engines would require building “an entirely new integration architecture”, one that iOS did not have. Open Web Advocacy, which first noticed the change in the first iOS 17.4 beta, recorded Apple’s confirmation on 2024-02-16 (It’s Official, Apple Kills Web Apps in the EU, open-web-advocacy.org).
The removal did not reach a release. An update placed above the original text on the same page states that Apple “will continue to offer the existing Home Screen web apps capability in the EU”, that this support “means Home Screen web apps continue to be built directly on WebKit and its security architecture”, and that developers and users affected by the removal in the beta “can expect the return of the existing functionality for Home Screen web apps with the availability of iOS 17.4 in early March” (Changes for apps in the European Union, archived 2024-03-04, web.archive.org). Open Web Advocacy dated the reversal 2024-03-01 (Apple backs off killing web apps, open-web-advocacy.org), and iOS 17.4 was released on 2024-03-05 (About the security content of iOS 17.4 and iPadOS 17.4, support.apple.com). For a support floor the episode adds no new row. The EU kept the existing capability, and by Apple’s statement it stayed built on WebKit.
iOS 18.4: declarative push
Section titled “iOS 18.4: declarative push”Safari 18.4 made Declarative Web Push available on iOS and iPadOS 18.4 for web apps added to the Home Screen, which is the first notification path on the platform that does not need a service worker at all.
iOS 26: installability without rules
Section titled “iOS 26: installability without rules”Safari 26.0 opens websites added to the Home Screen as web apps by default. A user who wants a browser bookmark turns off Open as Web App while adding. The post states plainly that there are now zero requirements for installability in Safari. A manifest keeps its value, since icons declared in it are still used, and Safari 26.0 additionally accepts SVG files and data URLs for icons.
iOS 27: service worker static routing
Section titled “iOS 27: service worker static routing”Safari 27.0 comes with iOS 27 and iPadOS 27, and Apple’s
Safari 27 Release Notes
(developer.apple.com) date the release 2026-09-14. For web apps, Safari 27.0 adds the Service Worker static routing API, which lets a service worker declare
routing rules that the browser can use to bypass the service worker entirely for certain requests
(WebKit Features for Safari 27.0,
webkit.org). The rules are registered with addRoutes() on the install event, and browser-compat-data
records InstallEvent.addRoutes from Safari on iOS 27, alongside Chrome 123 and Chrome Android 123,
with no support in Firefox (BCD api.InstallEvent.addRoutes). The
Service Worker Static Routing API entry covers the rule
syntax. The same release notes list two registration fixes. A service worker registration is now
unregistered when its main script is missing or when retrieving its stored imported scripts
fails.
iOS 27.1 on iPhone Duo
Section titled “iOS 27.1 on iPhone Duo”Apple’s announcement of iPhone Duo, its first foldable iPhone, states that “iPhone Duo will be available with iOS 27.1” and that availability begins on 2026-10-23 in the first group of countries (Apple unveils iPhone Duo, apple.com). Apple’s Safari release notes (developer.apple.com), read on 2026-10-20, list Safari 27 and a Safari 27.2 beta and no Safari 27.1 notes, and browser-compat-data 8.1.6 lists no Safari on iOS 27.1 release, so neither source records a web platform change for 27.1.
For foldable screens the web platform has the Viewport Segments API. viewport.segments and the
horizontal-viewport-segments and vertical-viewport-segments media features describe how a fold
divides the viewport. Browser-compat-data 8.1.6 records them from Chrome 138 and Chrome Android 138
and records no support in Safari on iOS (BCD api.Viewport.segments and
css.at-rules.media.horizontal-viewport-segments). On that record, the cited sources do not show a Home Screen web
app on iPhone Duo receiving segment information.
Examples
Section titled “Examples”Test for the capabilities your app needs without depending on a release number.
Checking for room before a large precache
Section titled “Checking for room before a large precache”The storage quota policy changed in iOS 17, so ask for an estimate instead of hard-coding a figure, and keep a path for the engines that cannot answer.
async function roomFor(bytes) { if (!('storage' in navigator) || typeof navigator.storage.estimate !== 'function') { return true; // No Storage API here: attempt the write and handle the quota error. } const { quota = 0, usage = 0 } = await navigator.storage.estimate(); return quota - usage > bytes;}The fallback returns true because the write may still succeed. The
caller has to handle QuotaExceededError in either branch. Treating an unanswerable question as a
refusal would disable offline support on engines that would have coped.
Declaring an icon every supported release can use
Section titled “Declaring an icon every supported release can use”Icon resolution differs across iOS releases, so declare both forms and let each
release pick. The apple-touch-icon link wins where both are present, which makes it the
predictable floor.
<link rel="apple-touch-icon" href="/icons/apple-touch-180.png" /><link rel="manifest" href="/manifest.webmanifest" />Manifest icons are used from iOS 15.4 when no apple-touch-icon
exists, its id keeps multiple installs apart from iOS 16.4, and from iOS 26 its icon entries may
be SVG. On iOS 15.4 and later, the manifest icon is used when no apple-touch-icon is present if
its purpose is omitted or includes any.
Observed behaviour
Section titled “Observed behaviour”Safari 26.0 lets you inspect a Home Screen web app’s service worker before it handles an event.
Use the pause option when debugging push. It stops execution early enough to set a breakpoint inside the handler before it returns.
See also
Section titled “See also”- PWAs on iOS and Safari
- Web Push on iOS and iPadOS (16.4+)
- StorageManager.persist() and persisted()
- Home Screen web app storage isolation on iOS
- Workers at Your Service (webkit.org)
- Updates to Storage Policy (webkit.org)
- Apple backs off killing web apps (open-web-advocacy.org)
- WebKit Features in Safari 16.4 (webkit.org)
- WebKit Features for Safari 27.0 (webkit.org)
- Service Worker Static Routing API
Specifications
| Specification | Status |
|---|---|
| None. | |