How do we emulate touch events in Safari Responsive Design Mode?

trusktr picture trusktr · Oct 17, 2016 · Viewed 11.4k times · Source

Chromium has this feature Device Mode, and interaction is how it would be on a touch device.

I've tried Safari's Responsive Design Mode, but I don't see a way to emulate touch (without pointer events). It just behaves like I'm using a mouse, but I'd like for it to behave like I'm touching the screen on a mobile device (like in Chrome's inspector).

Answer

Davide Mancuso picture Davide Mancuso · May 31, 2017

You can install Apple xCode. After installation, search Simulator through Spotlight.

Search Simulator through Spotlight

With Simulator you can open Safari and simulate yours websites with touch control.

iPhone 5 with iOS 10.1

Stackoverflow opened through Simulator