问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/50699459/how-to-use-webkit-on-watchos-5