简体   繁体   English

Chrome IOS-仅仅是UIWebView吗?

[英]Chrome IOS - Is it just a UIWebView?

I'm not sure this is a suitable question for here but is the new Chrome app for IOS just a UIWebView? 我不确定这是否是一个合适的问题,但是适用于IOS的新Chrome应用仅仅是UIWebView吗?

If so then would it be safe to assume that there shouldn't be any rendering differences between it and mobile Safari? 如果是这样,可以安全地假设它与移动Safari之间不应存在任何渲染差异吗?

No, it is not just a UiWebView. 不,它不仅是一个UiWebView。 Mike Pinkerton's post on chrome-team googlegroup : Mike Pinkerton 在chrome-team googlegroup上帖子

Chrome for iOS has some pretty major technical restrictions imposed by the App Store, such as the requirement to use the built-in UIWebView for rendering, no V8, and a single-process model. Chrome for iOS对App Store施加了一些相当大的技术限制,例如要求使用内置的UIWebView进行渲染,不使用V8以及单进程模型。 As a result it's been challenging to re-use critical Chromium infrastructure components. 结果,重用关键的Chromium基础架构组件一直是一个挑战。 That said, there is a lot of code we do leverage, such as the network layer, the sync and bookmarks infrastructure, omnibox, metrics and crash reporting, and a growing portion of content. 也就是说,我们可以利用很多代码,例如网络层,同步和书签基础结构,多功能框,指标和崩溃报告,以及越来越多的内容。

The networking layer alone contains a lot of optimizations to enhance your browsing. 单独的网络层包含许多优化功能,可以增强浏览效果。 Here's a quick overview: http://www.igvita.com/2012/06/04/chrome-networking-dns-prefetch-and-tcp-preconnect/ 快速概览: http : //www.igvita.com/2012/06/04/chrome-networking-dns-prefetch-and-tcp-preconnect/

Yes, you're right... it uses the webkit rendering engine, with Chrome UI. 是的,您是对的...它使用了带有Chrome UI的webkit渲染引擎。

Ref. 参考 DaringFireball ... 大胆的火球 ...

It's not the Chrome rendering or JavaScript engines — the App Store rules forbid that. 不是Chrome渲染或JavaScript引擎-App Store规则禁止这样做。 It's the iOS system version of WebKit wrapped in Google's own browser UI 这是包装在Google自己的浏览器用户界面中的WebKit的iOS系统版本

As of version 48, Chrome for iOS uses WKWebView, which is the same view used in Safari. 从版本48开始,Chrome for iOS使用WKWebView,这与Safari中使用的视图相同。

Sources: 资料来源:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM