Kattes Posted July 13, 2021 Share Posted July 13, 2021 Hi there, Just a very simple question: Is it possible to use mouse events (OnMouseDown, OnMouseClick, OnMouseUp) in a standard uniGUI application if running it on an iPhone Safari browser? It seems so that none of these events are working if this browser is used. No problems with Chrome and Android, but Safari mobile seems to be somehow "special". Kind regards, Kattes Quote Link to comment Share on other sites More sharing options...
Kattes Posted July 14, 2021 Author Share Posted July 14, 2021 Hi again, Please forget my question above - I finally found out that not uniGUI is responsible for the issue with Safari mobile. The problem comes from an Iframe I used to wrap the uniGUI application into an external HTML page. To get my problem fixed I just added the following to the HTML-code of my wrapper: <script> window.addEventListener('touchstart', {}); </script> So if anyone comes across the same problem with iframes, this is the solution. Best regards, Kattes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.