macOS and iOS Dark Mode Rumored with WebKit code

New code discovered by Guilherme Rabo of 9to5Mac in Apple’s WebKit developer library (responsible for Safari in macOS and iOS) hints at a new dark mode in macOS 10.14.

This new code allows WebKit to render a website based on the appearance of the application running it. This means that it can change the color of buttons and other UI elements of the website.

There has actually been a dark mode present in macOS since El Capitan, but it could only be used if a developer specifically enabled it in their app code. The new update to WebKit makes it so that this dark mode will be enabled if the current system appearance is dark, suggesting that a system-wide dark mode could be coming.

This new dark mode will give the two operating systems, which haven’t had a style change for several years, a refreshing new look.

For anyone experienced in Objective-C who wants to have a further look at this new code, here it is:


So, do you want a new dark mode on macOS and iOS? Tell us in the comments below.

Published by

James Watling

Hi, I'm James, a writer at Apple Summit as well as CEO and co-founder of Apple Juice Tech.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s