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