search
HomeWeb Front-endH5 Tutorial为什么 HTML5 在 iOS 上很流畅,但在 Android 上却不尽如人意?

最近做微信开发,发现页面在 iOS 上非常流畅,但在 Android 上却会出现卡顿的现象,换了几台安卓机都有。

回复内容:

为啥我在做微信开发的时候,HTML5在Android端上很流畅,在iOS上却有点卡呢?
所以我猜和具体机器有关系,和系统关系不大,所以就别来黑了吧 是黑?

android上并不比ios卡,你这种是不是换台手机好点?

毕竟nexus one和iphone6是没法比的……

顺便告诉你千万别用jquery,除非你想卡出翔 让你们公司换个贵的测试机器 iOS的微信webview我记得默认是调用safari的,配合iPhone的性能,所以肯定不会差。 安卓就比较复杂了,如果不是原生安卓,

webview可能会很老旧,安卓微信的webview从UA上看似乎是qq浏览器的内核,这也有点蛋疼。

还得看手机的具体配置。 因为苹果的硬件性能还是不错的,硬件固定和系统封闭导致浏览器优化也好做一些
安卓最出名的是什么,伴随着销量大和适应性强而来的最出名的特点就是碎片化了,各种为了成本压榨的硬件采购,自定义的系统配置,开放的软件开发,让问题出现的几率放大几万倍.
如果你要兼容安卓开发,最好不要想做太复杂的效果,就联想下pc端兼容ie6的做法. 乔布斯当年推出iPhone和iPad时就决心彻底抛弃Adobe的Flash,当时还和Adobe掐了起来,最后发表了对Flash的一些看法一文。
他们选择采用HTML5,认为HTML5
处在技术的春天,并一直在对其做优化,希望HTML5成为下一匹能够一直不停奔跑的马,iPhone4出来的时候就他们声称全世界的智能手机对HTML5支持最好的是iPhone。。。
安卓的话,不是很清楚。感觉大部分安卓机还是比iOS卡。。毕竟iOS专为苹果的设备打造。。。安卓机的配置也层次不齐。
当然可能跟语言也有关吧,但是我对iOS的语言不了解,不敢乱说。 因为安卓版微信的webview使用了牛逼的“QQ浏览器x5内核” 做过不少移动端的小东西了,android卡还是卡在动画多的时候,这一点说白了还是android的内存回收做的不够给力,渲染这部分我没读过内部实现不敢说,不过这个层级上应该不差多少。 因为Adobe和苹果撕逼了,就这么简单~~

html5test.com


你看看哪个浏览器跑分高?

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
H5: New Features and Capabilities for Web DevelopmentH5: New Features and Capabilities for Web DevelopmentApr 29, 2025 am 12:07 AM

H5 brings a number of new functions and capabilities, greatly improving the interactivity and development efficiency of web pages. 1. Semantic tags such as enhance SEO. 2. Multimedia support simplifies audio and video playback through and tags. 3. Canvas drawing provides dynamic graphics drawing tools. 4. Local storage simplifies data storage through localStorage and sessionStorage. 5. The geolocation API facilitates the development of location-based services.

H5: Key Improvements in HTML5H5: Key Improvements in HTML5Apr 28, 2025 am 12:26 AM

HTML5 brings five key improvements: 1. Semantic tags improve code clarity and SEO effects; 2. Multimedia support simplifies video and audio embedding; 3. Form enhancement simplifies verification; 4. Offline and local storage improves user experience; 5. Canvas and graphics functions enhance the visualization of web pages.

HTML5: The Standard and its Impact on Web DevelopmentHTML5: The Standard and its Impact on Web DevelopmentApr 27, 2025 am 12:12 AM

The core features of HTML5 include semantic tags, multimedia support, offline storage and local storage, and form enhancement. 1. Semantic tags such as, etc. to improve code readability and SEO effect. 2. Simplify multimedia embedding with labels. 3. Offline storage and local storage such as ApplicationCache and LocalStorage support network-free operation and data storage. 4. Form enhancement introduces new input types and verification properties to simplify processing and verification.

H5 Code Examples: Practical Applications and TutorialsH5 Code Examples: Practical Applications and TutorialsApr 25, 2025 am 12:10 AM

H5 provides a variety of new features and functions, greatly enhancing the capabilities of front-end development. 1. Multimedia support: embed media through and elements, no plug-ins are required. 2. Canvas: Use elements to dynamically render 2D graphics and animations. 3. Local storage: implement persistent data storage through localStorage and sessionStorage to improve user experience.

The Connection Between H5 and HTML5: Similarities and DifferencesThe Connection Between H5 and HTML5: Similarities and DifferencesApr 24, 2025 am 12:01 AM

H5 and HTML5 are different concepts: HTML5 is a version of HTML, containing new elements and APIs; H5 is a mobile application development framework based on HTML5. HTML5 parses and renders code through the browser, while H5 applications need to run containers and interact with native code through JavaScript.

The Building Blocks of H5 Code: Key Elements and Their PurposeThe Building Blocks of H5 Code: Key Elements and Their PurposeApr 23, 2025 am 12:09 AM

Key elements of HTML5 include,,,,,, etc., which are used to build modern web pages. 1. Define the head content, 2. Used to navigate the link, 3. Represent the content of independent articles, 4. Organize the page content, 5. Display the sidebar content, 6. Define the footer, these elements enhance the structure and functionality of the web page.

HTML5 and H5: Understanding the Common UsageHTML5 and H5: Understanding the Common UsageApr 22, 2025 am 12:01 AM

There is no difference between HTML5 and H5, which is the abbreviation of HTML5. 1.HTML5 is the fifth version of HTML, which enhances the multimedia and interactive functions of web pages. 2.H5 is often used to refer to HTML5-based mobile web pages or applications, and is suitable for various mobile devices.

HTML5: The Building Blocks of the Modern Web (H5)HTML5: The Building Blocks of the Modern Web (H5)Apr 21, 2025 am 12:05 AM

HTML5 is the latest version of the Hypertext Markup Language, standardized by W3C. HTML5 introduces new semantic tags, multimedia support and form enhancements, improving web structure, user experience and SEO effects. HTML5 introduces new semantic tags, such as, ,, etc., to make the web page structure clearer and the SEO effect better. HTML5 supports multimedia elements and no third-party plug-ins are required, improving user experience and loading speed. HTML5 enhances form functions and introduces new input types such as, etc., which improves user experience and form verification efficiency.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor