zachio / pong

Pong - Forever Alone Addition. This is an HTML5 game that is like pong except single player.
0 stars 0 forks source link

iOS-specific <meta> tags #11

Open unknwnc opened 9 years ago

unknwnc commented 9 years ago

There are some <meta> tag values recognized by Safari on iOS, that allow sites to open as a webapp. If the user adds the site to their home screen and opens it from there, the site can launch full-screen, like a native app.

zachio commented 9 years ago

Now we are cooking with gas. I'll get that going. How is the loader going?

zachio commented 9 years ago

Mobile support is a go. Do you have an iphone? I'm going to add some additional instructions on the readme file for iPhone support.

unknwnc commented 9 years ago

Can you add a event.preventDefault() To keep the user from scrolling around on touch?

zachio commented 9 years ago

Wow. I was just wondering how to do that. because it freezes the game lol.

unknwnc commented 9 years ago

Another thing is to specify the icon for the webapp. You can take a look at this reference for all the tags iOS can recognize: https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html