Android使用什么浏览器引擎phonegap? [英] What browser engine does Android use for phonegap?

查看:98
本文介绍了Android使用什么浏览器引擎phonegap?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在手机差距项目中实现一些CSS动画。动画在iOS设备上运行正常,但在我的Android上不行。



在phonegap项目中,我需要Android的任何特殊的vender前缀吗?

解决方案

PhoneGap使用本机浏览器引擎。所以在Android中,它使用WebKit。



PhoneGap



PhoneGap使用的网络视图与原生的
操作系统使用的网络视图相同.Ob
< iOS,这是Objective-C的UIWebView类; on
Android,这是android.webkit.WebView。因为在操作系统之间的web视图渲染引擎
有差别,确保
你在你的UI

>

教程可能对您有所帮助。



希望这有助于!


I'm trying to implement some CSS animations in a phone gap project. The animations run fine on an iOS device but not on my Android. In fact some things like dashed borders aren't even rendering.

Do I need any special vender prefixes for Android within a phonegap project?

解决方案

PhoneGap uses native browser engines. So in android, it uses WebKit.

From PhoneGap

web view used by PhoneGap is the same web view used by the native operating system.On iOS, this is the Objective-C UIWebView class; on Android, this is android.webkit.WebView.Since there are differences in the web view rendering engines between operating systems, make sure that you account for this in your UI

This tutorial may be helpful for you. It shows how to target for specific browser(means specific render engine).

Hope this helps!

这篇关于Android使用什么浏览器引擎phonegap?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆