Makzan / I share what I learnt

3D Touch Force value in mobile Safari with touchEvent.force

Link: 3d-touch/3dtouch.js

By using touchEvent.force, we can get the force of the touch in 3D Touch screen. Obviously it only works in the iPhone 6s and 6s Plus now.

Published on September 30, 2015. More articles like this: Clip & Quote, Web Technologies.

Want productive tips and web technologies links like this in your inbox each week? Sign up for weekly dispatch each week. No spam ever. Just useful content: