There seems to be no workaround, and this seems like a known issue, regardless of being fixed in webkit.
Start repeat
Apples do not support, and the attention to detail for stand-alone applications is truly incredible; especially since version 9.3.5.
Between this problem and the main problem of Youtube player in standalone applications. Perhaps Apple should stop worrying about removing the headphone jack and add some kind of mystical โTouch Barโ and actually fix its damn platform. End ant
To solve the problem you will need to use FastClick . Apply it only to iOS. You can go further and apply it only to standalone applications, as it works great if the application is not offline.
My script tag is placed after the DOM, and the initialization looks like this:
if (isIos() && isRunningStandalone()) { // Initialize Fast Click // Even with the latest webkit updates, unfortunatley iOS standalone apps still have the 350ms click delay, // so we need to bring in fastclick to alleviate this. // See https://stackoverflow.com/questions/39951945/ios-standalone-app-300ms-click-delay if ('addEventListener' in document) { document.addEventListener('DOMContentLoaded', function () { FastClick.attach(document.body); }, false); } } isIos = function () { // Reference: https://stackoverflow.com/questions/9038625/detect-if-device-is-ios
contactmatt
source share