on iOS devices, if you long press on any screen of a playcanvas project,The Copy|Lookup pop up gets opened.
I am attaching the screenshot of an iOS device where I published an empty project and even if I long press on the screen, the pop up is opened.
Any help will be appreciated.
Hi @Faisal and welcome,
This is an iOS issue, likely there is a workaround, check this github issue for solutions:
Thanks, It worked like a charm.
I used the code that is written below;
// initialize code called once per entity
PlayerController.prototype.initialize = function() {
// CSS touch fix for iOS
document.body.style['-webkit-user-select'] = 'none';
};
1 Like