Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use WebKit on watchOS 5?

Tags:

watchos

At yesterday's WWDC, Apple have announced WebKit support in watchOS 5. I have downloaded Xcode 10 but can't find any reference to that in the Interface Builder or in the Frameworks and Libraries tab. Although Apple's WebKit website has been unable for access yesterday, they haven't added documentation about watchOS yet.

How can I make use of WebKit and WatchKit?

like image 838
user2875404 Avatar asked Jun 05 '18 11:06

user2875404


1 Answers

Quite a useful video from this years WWDC about this here: https://developer.apple.com/videos/play/wwdc2018/239

Basically, it seems like it will use a 320px viewport and then scale it down to the width of the Apple Watch screen which sounds very logical.

As expected there is a new meta tag to allow you to overcome that behavior and put custom styles in.

Quite well thought out in my opinion even though i'm not fully expecting the experience to be super user friendly.

like image 120
rctneil Avatar answered Oct 01 '22 22:10

rctneil