A Touch
object represents a single user touch on the screen of the device. A touch is the presence or movement of a finger and is part of a unique multi-touch sequence. Use the changed
method to get all the touch objects that changed in a Touch
object.
SDKs
- Safari Desktop 10.1+
- Safari Mobile 2.0+
Framework
- Web
Kit JS
Declaration
interface Touch
Overview
Starting in iOS 9, on devices that support 3D Touch, you can get the force
property of the Touch
class to obtain a value representing the force at which the user is pressing on the screen. For more information about 3D Touch, see Adopting 3D Touch on iPhone.