简体   繁体   中英

How to get raw touchscreen data?

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM