问题
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