Web Apps in iOS 26
Jen Simmons et al. (Mastodon):
For the last 17 years, if the website had the specific
metatag or Web Application Manifestdisplayvalue in it’s code, when a user added it to their Home Screen on iOS or iPadOS, tapping its icon opened it as a web app. If the website was not configured as such, tapping its icon opened the site in a browser. Users had no choice in the matter, nor visible way to understand why some sites behaved one way while others behaved another.On Mac, we took a different approach. When introducing Web Apps on Mac in Sep 2023, we made the decision to always open websites added to the Dock as web apps. It doesn’t matter whether or not the website has a Web Application Manifest. Users get a consistent experience. Add to Dock creates a web app.
Now, we are revising the behavior on iOS 26 and iPadOS 26. By default, every website added to the Home Screen opens as a web app. If the user prefers to add a bookmark for their browser, they can disable “Open as Web App” when adding to Home Screen — even if the site is configured to be a web app. The UI is always consistent, no matter how the site’s code is configured. And the power to define the experience is in the hands of users.
Previously:
- The Tyranny of Apps
- An Abridged History of Safari Showstoppers
- Safari 17 Web Apps
- Safari 17 Link Tracking Protection
8 Comments RSS · Twitter · Mastodon
"And the power to define the experience is in the hands of users."
As long as that experience doesn’t involve choosing an icon. Or a theme color. Or a scope. Or splash screens. Or context menu actions.
They’re celebrating what is basically the equivalent of a shortcut I hacked together in an afternoon two years ago:
Are we finally coming full circle due to regulation?
I still think this is mostly just a distraction from the app distribution argument.
Steve said apps aren't necessary because web apps can be made capable of doing all the same things. Then they apparently realized the benefit of control the App Store gives them, and so crippled web apps.
But now that apps are fully entrenched and it's clear that web apps will never be true compettiors, the most important thing is cutting off that alternate app distribution argument.
This is an improvement but there’s no way to enable extensions in a site that’s added to the home screen, like you can do for sites added to the Dock on macOS.
It is definitely an improvement, because it wasn't always clear what was a webapp and what wasn't. However there are still behaviours reserved for webapps that might not otherwise be clear, e.g. (also apropos the Iceblock thread) webpush-based push notifications aren't supported unless you request them from within a web app view, so e.g. Discourse will just silently fail to enable notifications if you're browsing in a Safari tab, but it works just fine when the same site is launched from the home screen and run in its own container. No doubt, given the abuse of notifications, some might see that as a "feature", but it's another way in which Apple nudges users and developers towards native apps without meaningfully improving security or privacy.
@Sebby, I'll try to keep this non-political....
I'm thinking I get you. In 2007, Steve Jobs declared that HTML5 was "the way" to load apps onto the iPhone. (Please note, load, not sideloading, and at that time, jailbreaking was very prevalent. Like in the ICEBlock thread, my intent is simple... where can I learn - not sure how much I can - about these "web apps"? What do you mean when you say "behaviors"? Can web apps do push notifications? Only on Safari? Is there a difference between iOS Safari and macOS Safari? (That one I think there is.) How about Safari and, say, Chrome or Firefox?
I'm not trying to argue, just learn. As you already said, what isn't clear to me is what is a web app and what isn't.
@Dave No worries, I'm not a web developer either but I do take an interest. For sending web push notifications (which as of the *26 OSs can now be workerless, i.e. no extra JS required), see this from Apple Developer. It's just following the spec, which is used by the other browsers.
Web Apps (or PWAs as they're called by people that make them because why not) can:
* Receive Push notification
* Work offline
* Be updated by the developer when needed
* Fill the entire screen (so no browser chrome)
* Have an Icon (although on android there's a small browser icon overlayed)
* Have a nice splash screen
* Acees the GPS (after permission)
* Access the gallery (after permission)
AFAIK they can't
* Access the phonebbok
* Access bluetooth
* Access NFC
I spent the summer doing Nikes ISRU summer camp thing and I exclusively used the PWA. Worked great. Had the same issues as everyone else.
If you're curious ChatGPT is perfectly cabable of heloing you with a quick mockup. The extra bits you need to ask about are:
Service Workers (the tech that enables push and offline mode)
App Manifest a JSON file that describes the appy look of your PWA