How to get raw touchscreen data?

為{幸葍}努か 提交于 2019-12-23 16:07:26

问题


I know I can get touch events in my iPhone app. But these touch events are filtered for me. If I press the device against my face, it filters out these touch events because it can detect its not a finger.

How would I get the raw touch events, not filtered in any way?


回答1:


There is no public API for this. The closest you can get is GSEvent, from the GraphicsServices private framework.



来源:https://stackoverflow.com/questions/789737/how-to-get-raw-touchscreen-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!