Where can I learn more about WebCoreSharedBufferData?

前端 未结 2 2204
一生所求
一生所求 2021-02-19 05:48

I\'ve got an app that was working perfectly on iOS 6, but on iOS 7, if there is a very specific action taken by the user (too complex to get into but it uses a UIWebView

相关标签:
2条回答
  • 2021-02-19 06:04

    I just encountered this error also. My set up was phonegap 3.2 and createjs 0.7.0 and I never had an issue with ios6 but ios7 was causing me fits. My solution was to use one canvas element. I had been loading two canvas elements with png spritesheet bitmap data and toggling back and forth, now i just reuse the same canvas element by clearing the old data and adding the new data. Seems to have solved the issue. still don't understand why i can't have two canvas elements.

    just a bit more... seems this only occurred when i quickly reloaded the two canvas elements with png data. I don't think it's an issue of corrupted pngs because it would happen on different bitmaps each time and now that i reuse the same canvas element everything works fine.

    0 讨论(0)
  • 2021-02-19 06:19

    if you are using IOS i Wouldn't use onClick. IOS takes your on click and puts some funky 200 ms delay on onClicks which results in sometimes breaking the "webglue". JavaScript has a full touch library that I would use and also something like Hammer.js will resolve your problem. also, i would use phonegap for the webview component of your app (even if it is not the full app) because they fix alot of quirks/bugs IOS has with their native webview (even if it is just for website browsing).

    0 讨论(0)
提交回复
热议问题