简体   繁体   中英

dipatchevent() isn't working in IOS

I have recently developed an html5 game using createjs and I am currently in the testing phase. The game seems to work fine in all the devices except for the iPhone. After careful analysis I have come to a conclusion that the dispatchevent(), I'm employing in the code to run the createjs built-in rollover() function which I'm dispatching using the dispatchevent() isn't working in the IOS.Apart from this the game seems to be doing all the other tasks in the ios just fine. But since this is the main functionality I'm kind of stuck. The following is the code snipet where I'm employing the dispatchevent() :

                              o.dispatchEvent("rollover");

Any suggestions in this regard?

You need to dispatch events for iphone in seperate. So dispatch 2 ee

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM