用于内部 Web 应用程序的 WebKit shell 浏览器
我正在创建一个内部 Web 应用程序,希望在 Mac 上的 WebKit shell 浏览器中运行。我搜索了一下,却一无所获。基本上,我希望网站在没有镶边的窗口中渲染和显示,以便导航到其他页面、书签等。在我看来,应该有一种相对简单的方法可以在 Xcode 中启动并运行类似的东西,但可惜我不知道怎么办。准系统越多越好。有人知道答案吗?
I am creating an in-house web application that I want to run in a WebKit shell browser on the Mac. I searched and came up empty. Basically, I want the site rendered and shown in a window with no chrome for navigating to other pages, bookmarks, etc. Seems to me that there should be a relatively easy way to get something like that up and running in Xcode, but alas I don't know how. The more barebones the better. Anybody know the answer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定这是否是您要寻找的,但您可以使用 WebView。内容由 Safari/WebKit 呈现。
至于chrome,如果你只放视图,那就是你所拥有的一切。您可以根据需要塑造用户界面的其余部分。
Apple 的文档有几个使用 WebView 的示例...这应该可以解决您的问题吗?
Not sure if this is what you're looking for, but you could use a WebView. The content is rendered by Safari/WebKit.
As for chrome, if you just put the view, that's all you'll have. You can shape the rest of the User Interface however you'd like.
Apple's documentation has a couple of examples using WebView... Should this solve your problem.
你看过phonegap mac 项目了吗?
它是一个没有任何镶边的全屏 Webkit,您可以在其中运行 html / css / javascript:
https:// /github.com/callback/callback-mac
Did you take a look at the phonegap mac project.
Its a full screen webkit without any chrome in which you can put your html / css / javascript to run:
https://github.com/callback/callback-mac