Get the latest tech news

Apple has a private CSS property to add Liquid Glass effects to web content


I have an incredibly boring summer hobby: looking at the changelog for the WebKit Github repo. Why? Because I spend a chunk of my professional life working with webviews inside mobile apps and I like to get an early peek into what's coming in the next version of iOS. Since

Because I spend a chunk of my professional life working with webviews inside mobile apps and I like to get an early peek into what's coming in the next version of iOS. Since Tim Cook has yet to stand up at WWDC and announce "one more thing... Service Worker support in WKWebView, provided you add the correct entry to the WKAppBoundDomains array in your Info.plist" (and you know what, he should) manual research is the order of the day. But it also doesn't work by default in an app using WKWebView, you have to toggle a setting in WKPreferences called useSystemAppearance... and it's private.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Apple

Apple

Photo of glass

glass

Photo of css

css

Related news:

News photo

Apple's iPad Air M3 is back on sale for $150 off

News photo

Apple's new iPhone charger dynamically switches between 40 and 60W

News photo

AirPods Pro 3 review: A significant update to Apple’s best earbuds