Where can I learn more about WebCoreSharedBufferData?

匆匆过客 提交于 2019-12-03 23:08:05

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.

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).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!