I have created an HTML5 game using Cocos Creator v2.4.8. It is working properly in PC, Android browsers but the game is not showing up in iPhone and iPad browsers (Safari & Chrome). I’m able to see the splash screen but after loading, only a gray screen is displayed. I guess it is some issue related to Canvas element.
Has anybody else faced similar issues?
Update: It was my mistake. An exception in a line where I set Screen orientation (it is not available in iOS) caused the code to not execute the remaining lines of the function. I add the Canvas element after this. So that’s it was not showing up.