jquery - iOs 的 CSS3 和 jQuery 动画缓慢

标签 jquery ios css jquery-animate

我正要创建一个网络应用程序,但是当我尝试使用 jQuery 或 CSS3 为某些对象设置动画时,它们变得缓慢、不流畅,就像我在我的计算机(或 iOs 模拟器)上所做的那样。

我认为这是因为 iPhone 的功能不足以为对象设置动画(因为当我在 iOs 模拟器上尝试我的动画时,它们没问题。)但是 JQTouch 或 < strong>jQuery Mobile 在 iOs 上获得流畅的动画?

我会检查你的答案,同时检查 JQTouchjQuery Mobile 的源代码。

感谢您的帮助!

最佳答案

你应该看看 GSAP jquery 插件:GSAP

Up to 20x faster than jQuery’s native animate() method. See the interactive speed comparison for yourself. Works exactly the same as the regular jQuery.animate() method. Same syntax. No need to change your code. Just load the plugin (and TweenMax or TweenLite & CSSPlugin) and you’re done.

关于jquery - iOs 的 CSS3 和 jQuery 动画缓慢,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17579649/

相关文章:

html - css display flex 在 chrome 和 safari 上无法正常工作

jquery - 如何为 Safari 5.x Windows 删除特定的 CSS 样式?

javascript - 如何在 &lt;textarea&gt; 中进行撤消/重做,以便一次对 1 个单词、逐字或逐字符使用react?

ios - 无法使用 Swift 从 Firebase 检索数据

ios - 如何在 Alamofire 中设置 requestSerializer

ios - 当用户正在打电话或网络共享时,如何使 iPhone 应用程序看起来正确?

javascript - Jquery 隐藏和显示在悬停时不起作用

javascript - 如何握住悬停框? #html、#css、#js

javascript - 仅滚动 div 和 div 溢出问题

javascript - 微调 megamenu 的 jQuery 要求