Can the iPhone detect the size of a touch?

后端 未结 4 1920
陌清茗
陌清茗 2021-02-01 10:17

As far as I can tell the iPhone multitouch framework sends the location of each touch but not the size.

I want to allow the user to tap a button with the tip of their th

4条回答
  •  情深已故
    2021-02-01 10:48

    I'm fairly sure that the hardware gets a very accurate read of the touched area, but the iPhone firmware does not bring this information to the developer. As CiNN said, UITouch just doesn't provide this information.

    However, the hardware is the same as in the old Fingerworks.com products which really did provide the actual touch data to the developer. So perhaps in a (much) later OS release, touch surface profiles would be provided. it might be useful!

提交回复
热议问题