jQTouch 在 iPad 上像素加倍时出现闪烁

发布于 2024-09-01 20:27:46 字数 173 浏览 4 评论 0原文

我在 iPhone 应用程序上使用 jQTouch,我们的要求之一是在 iPad 上实现像素加倍。我相信 iPad 上的 jQTouch 存在错误/问题(在应用程序 UIWebView 中运行,但像素加倍),导致屏幕在转换期间闪烁。几乎每个过渡都有口吃/闪烁。还有其他人经历过吗?我也开始在一些 Android 设备上看到这种闪烁。

I'm using jQTouch on an iPhone application and one of our requirements is to make this work in the iPad with pixel doubling. I believe there's a bug/issue with jQTouch on the iPad (running within an app UIWebView, but pixel doubled) that causes the screen to flicker during transitions. Pretty much every transition has a stutter/flicker on it. Has anyone else experienced this? I also started seeing this flicker on some Android devices as well.

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

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

发布评论

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

评论(2

蓝眼泪 2024-09-08 20:27:46

iPad 上的 Mobile Safari 存在一些非常棘手的绘画问题。当我们开发 Sencha Touch 时,我们必须解决一大堆问题。 jQTouch 还没有针对 iPad 进行真正的测试。

Mobile Safari on iPad has some very gnarly painting issues. When we were developing Sencha Touch, we had to work around a crapload of them. Also jQTouch isn't really tested for iPad.

末骤雨初歇 2024-09-08 20:27:46

请查看此处:

http://code.google.com /p/jqtouch/issues/detail?id=301#c27

  • 评论 27
  • 评论 48
  • 评论 49

来自评论 27:

  // HACK
  if (animation.name === "slide") {
    var toStart = 'translateX(' + (backwards ? '-' : '') + window.innerWidth + 'px)';
    fromPage.css('webkitTransform', toStart);
  }
  // /HACK
...
  // HACK
  if (animation.name === "slide") {
    fromPage.css('webkitTransform', '');
  }
  // /HACK

Have a look here:

http://code.google.com/p/jqtouch/issues/detail?id=301#c27

  • Comment 27
  • Comment 48
  • Comment 49

From Comment 27:

  // HACK
  if (animation.name === "slide") {
    var toStart = 'translateX(' + (backwards ? '-' : '') + window.innerWidth + 'px)';
    fromPage.css('webkitTransform', toStart);
  }
  // /HACK
...
  // HACK
  if (animation.name === "slide") {
    fromPage.css('webkitTransform', '');
  }
  // /HACK
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文