My website works well on desktop version and on DevTools mobile phone simulator.
However, when running in the real iPhone 11, when clicking an element, it seems the click event does not fire. I need to click again and then the website will response.
This only occurs on the real iPhone, not on the DevTools mobile phone simulator. How can I debug the codes to solve the issue?
Thanks
There are various methods.
they have various devices including android/ios/windows/Linux/mac where you can test web apps.
macOS with simulators.
MacOS with a real device can be debugged by safari/xCode by enabling inspectors mode in the device setting. https://developer.apple.com/safari/tools/