Is there any way at all that I can tell how hard the screen is being pressed

前端 未结 4 2136
谎友^
谎友^ 2020-11-30 22:11

I want to find the pressure of the touch. I just don\'t know how to accomplish that result with out jailbreaking it and getting the raw touch data. Does anyone know How I wo

4条回答
  •  死守一世寂寞
    2020-11-30 22:30

    It's not possible with the SDK. It does not expose that data in anyway. And the screen does not sense pressure, and wether it even reports touch "size" to the OS is unknown. So sadly, what you are trying to do is not possible on a legit application.

    I know because I asked the same thing: Can the iPhone detect the size of a touch?

提交回复
热议问题