How to use WebKit on watchOS 5?

孤者浪人 提交于 2019-12-10 21:57:17

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!