Here's How Web Apps Work in macOS Sonoma

In macOS Sonoma, currently in beta, you can create individual web apps for any website that you frequent in Safari, and have them sit beside other apps in your Dock. Let's take a closer look at how it all works by turning MacRumors.com into a virtual Mac app as an example.

macos sonoma web app MacRumors
In macOS Sonoma, any website viewed in Safari can be turned into a web app, thanks to a new "Add to Dock" option in the File menu. In other words, no work is required on the part of web developers to make a site web app compatible, although there are some elements of web apps that developers can have control over (see below).

How to Turn MacRumors into a Web App

  1. In macOS Sonoma developer beta, navigate to MacRumors.com in Safari.
  2. Choose File -> Add to Dock in the menu bar.
  3. If you want, you can change the MacRumors icon by clicking it in the Add to Dock window. You can also edit the web app's name using the title field – "MacRumors" is more succinct, for example.
  4. Click the blue Add button.

macos sonoma tidbits6

You will now see the MacRumors web app sitting in your Dock, ready for use independently of Safari. The web app works with Mission Control and Stage Manager just like any app, and can also be opened via Launchpad or Spotlight Search.

On opening the web app, you'll notice its window includes a simplified toolbar with navigation buttons (note: Website developers can control whether these are shown). As you can see in the image, the MacRumors theme color for the site blends into the toolbar for a more seamless look.

web app MacRumors macos
In terms of navigation, the scope of the web app is dictated by the host of the webpage – in this case www.macrumors.com – so you can navigate anywhere within the MacRumors website, but if you click a link outside of the host page, such as the MacRumors Forums, which is separately hosted at forums.macrumors.com, this will open the linked webpage in Safari. Therefore, if you are a frequenter of both the MacRumors website and the MacRumors Forums, you should create separate web apps for each.

Web developers have the ability to refine the scope of a web app to a specific path on their site if they wish. For example, MacRumors could theoretically provide a facility to make web apps dedicated to navigating only how-to articles or guides. This is something MacRumors may implement in the future.

Website Logins and Notifications

By default, Safari copies a website's cookies to its web app. So if you create a MacRumors Forums web app and you were logged into your account at the time, you will remain logged in inside the web app. Even if you weren't logged in, you can do so within the web app with minimal effort, since Apple has integrated support for Password and Passkey AutoFill.

If a website already supports web push notifications – as MacRumors does – and you have signed up to them, you will receive web app push notifications that display the corresponding MacRumors icon, giving you more context than a standard Safari notification and icon would.

The web app icon in the Dock will also show a badge when a notification is received. Web app notifications are silent by default, although developers can change them to play a sound. However, the end decision over sound and icon badges is left to the user in System Settings -> Notifications.

web app notifications mr
Web apps also respect Focus modes, so you can include or exclude them from allowed notifications based on what you're doing. Lastly, with privacy in mind, Apple has added options to control web apps' access to camera, microphone, and location in System Settings -> Privacy & Security, just like for native apps.

For those who wish to delve further into macOS Sonoma, it is currently available to download as a developer beta, although caution is warranted, as beta versions can be unstable and buggy. For those willing to wait, the official public release is expected to land in the fall.

Related Roundup: macOS Sonoma
Related Forum: macOS Sonoma

Top Rated Comments

atoqir Avatar
11 months ago
This was the biggest eyeroll moment of the WWDC keynote for me. (I liked all the rest)

PWA's are a thing for years and years. They even got a spokesperson and demo for pinning a webapp and made it sound like they invented something magical and revolutionary that will enrich people's lives.

Can't believe it took them so long to add something that has been considered 'a basic feature' for years on other platforms and browsers.
Score: 46 Votes (Like | Disagree)
Brandon42 Avatar
11 months ago
The fact that subdomains (forums.maxrumors.com) need their own web app is not ideal. It could definitely break web apps for some sites that use subdomains for load balancing or other purposes such as login.
Score: 12 Votes (Like | Disagree)
rappr Avatar
11 months ago
Nice to see MacOS finally catching up to iPadOS/iOS in this regard
Score: 11 Votes (Like | Disagree)
bigjnyc Avatar
11 months ago

This was the biggest eyeroll moment of the WWDC keynote for me. (I liked all the rest)

PWA's are a thing for years and years. They even got a spokesperson and demo for pinning a webapp and made it sound like they invented something magical and revolutionary that will enrich people's lives.

Can't believe it took them so long to add something that has been considered 'a basic feature' for years on other platforms and browsers.
Is this your first Apple keynote? They do this with at least 2 or 3 features every. single. year. It never fails and is a running joke at this point.
Score: 9 Votes (Like | Disagree)
Love-hate ? relationship Avatar
11 months ago

This was the biggest eyeroll moment of the WWDC keynote for me. (I liked all the rest)

PWA's are a thing for years and years. They even got a spokesperson and demo for pinning a webapp and made it sound like they invented something magical and revolutionary that will enrich people's lives.

Can't believe it took them so long to add something that has been considered 'a basic feature' for years on other platforms and browsers.
It's apple, what do you expect . They self congratulated themselves for the "new" 15" design, almost sucking their own *censored* , and people cheering up

Still , the implementation is nice , and with the power apple has , it might make their web app and guidelines respected by devs

In all fairness I've no idea why theyve been waiting so long while iOS had it a deceny ago already

But yeah apple can afford to be late in any area they want
Score: 8 Votes (Like | Disagree)
rpmurray Avatar
11 months ago
Does it need to remain in the dock or can that be deleted? Does it show up as an application in the Applications folder?
Score: 7 Votes (Like | Disagree)

Popular Stories

Apple Silicon AI Optimized Feature Siri

Apple Releases Open Source AI Models That Run On-Device

Wednesday April 24, 2024 3:39 pm PDT by
Apple today released several open source large language models (LLMs) that are designed to run on-device rather than through cloud servers. Called OpenELM (Open-source Efficient Language Models), the LLMs are available on the Hugging Face Hub, a community for sharing AI code. As outlined in a white paper [PDF], there are eight total OpenELM models, four of which were pre-trained using the...
iOS 18 Siri Integrated Feature

iOS 18 Rumored to Add These 10 New Features to Your iPhone

Wednesday April 24, 2024 2:05 pm PDT by
Apple is set to unveil iOS 18 during its WWDC keynote on June 10, so the software update is a little over six weeks away from being announced. Below, we recap rumored features and changes planned for the iPhone with iOS 18. iOS 18 will reportedly be the "biggest" update in the iPhone's history, with new ChatGPT-inspired generative AI features, a more customizable Home Screen, and much more....
maxresdefault

Apple Announces 'Let Loose' Event on May 7 Amid Rumors of New iPads

Tuesday April 23, 2024 7:11 am PDT by
Apple has announced it will be holding a special event on Tuesday, May 7 at 7 a.m. Pacific Time (10 a.m. Eastern Time), with a live stream to be available on Apple.com and on YouTube as usual. The event invitation has a tagline of "Let Loose" and shows an artistic render of an Apple Pencil, suggesting that iPads will be a focus of the event. Subscribe to the MacRumors YouTube channel for more ...
Apple Vision Pro Dual Loop Band Orange Feature 2

Apple Cuts Vision Pro Shipments as Demand Falls 'Sharply Beyond Expectations'

Tuesday April 23, 2024 9:44 am PDT by
Apple has dropped the number of Vision Pro units that it plans to ship in 2024, going from an expected 700 to 800k units to just 400k to 450k units, according to Apple analyst Ming-Chi Kuo. Orders have been scaled back before the Vision Pro has launched in markets outside of the United States, which Kuo says is a sign that demand in the U.S. has "fallen sharply beyond expectations." As a...
iPad And Calculator App Feature 1

Apple Finally Plans to Release a Calculator App for iPad Later This Year

Tuesday April 23, 2024 9:08 am PDT by
Apple is finally planning a Calculator app for the iPad, over 14 years after launching the device, according to a source familiar with the matter. iPadOS 18 will include a built-in Calculator app for all iPad models that are compatible with the software update, which is expected to be unveiled during the opening keynote of Apple's annual developers conference WWDC on June 10. AppleInsider...
macbook pro purple february

Best Buy Introduces Record Low Prices on Apple's M3 MacBook Pro for Members

Thursday April 25, 2024 7:41 am PDT by
Best Buy is discounting a collection of M3 MacBook Pro computers today, this time focusing on the 14-inch version of the laptop. Every deal in this sale requires you to have a My Best Buy Plus or Total membership, although non-members can still get solid second-best prices on these MacBook Pro models. Note: MacRumors is an affiliate partner with Best Buy. When you click a link and make a...