Well, that is completely API dependent. For example, Android has an accessory getPressure()in MotionEvents that returns a float between 0.0f and 1.0f, but the actual granularity of your result obviously depends on the hardware - if the screen can only detect “clicked” and “no, clicked”, you get only 0.0f or 1.0f.
EDIT: As Julio Gorge said, iOS does not offer this functionality.
source
share