如何在 HTML5 应用程序中显示本机 iOS/Android UI 控件/元素?领英就是这样做的

发布于 2024-12-07 01:43:03 字数 404 浏览 1 评论 0原文

LinkedIn 对其新的高性能移动应用程序进行了如下评价:“HTML5 Web 应用程序和本机应用程序之间存在着这场战斗。但是我们在本机应用中融入了 HTML5,其中基于 Web 的内容表现出色。在 HTML5 中很难做到的事情是滚动无限列表,所以我们原生地使用它。”来自 LinkedIn 如何使用 Node.js 和 HTML5 构建更好、更快的应用程序

如何在 HTML5 应用程序中显示本机 iOS/Android UI 控件/元素?

< strong>我们怎样才能显示一个在 PhoneGap 中滚动无限列表?

LinkedIn says the following about their new high-performance mobile app: “There’s this battle between HTML5 web apps and native apps. But we’ve interspersed HTML5 in the native app, where web-based content excels. The things that are hard to do in HTML5 are a scrolling infinite list, so we went native with that.”' via How LinkedIn used Node.js and HTML5 to build a better, faster app

How can I display a native iOS/Android UI control/element in an HTML5 app?

How can we display a scrolling infinite list in PhoneGap?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

把时间冻结 2024-12-14 01:43:03

如何在 HTML5 应用程序中显示本机 iOS/Android UI 控件/元素?

你不能。您突出显示的引用是“我们在本机应用程序中散布了 HTML5”,而不是“我们在 HTML5 应用程序中散布了本机控件”。再读一遍。

如何在 PhoneGap 中显示滚动的无限列表?

PhoneGap 只是将设备 API 添加到 Web 视图中。它不会生成本机控件,因此您不能生成本机控件,除非扩展 PhoneGap。

How can I display a native iOS/Android UI control/element in an HTML5 app?

You can't. The quote you highlighted says "we've interspersed HTML5 in the native app", not "we've interspersed native controls in the HTML5 app". Read it again.

How can we display a scrolling infinite list in PhoneGap?

PhoneGap just adds device APIs to a webview. It doesn't generate native controls, so you can't, not without extending PhoneGap.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文