3

I am trying to log touch events in the background using IOKit framework in iOS 14+. I followed the code in the accepted answer for this question.

The problem is that the callback function is not called with any touch events. I am only getting temperature, proximity and vendor defined events.

Is it still possible to capture touch events with these APIs? Are there any alternative methods to collect touch events in the background?

Note: I am not planning to submit an app on the store, only using it for research purposes. I am testing on iPhone Xs running iOS 15.1 not jailbroken.

Reham M Samir
  • 1,635
  • 2
  • 8
  • 11
  • 1
    It's fine to link to another question, but your question should include everything we need to understand what you're asking without having to go read something else. Please update your question to explain what API you're specifically talking about, show the code that you're using, and explain what you expect to happen and what actually happens. Also, note that the question you linked is from 2013 and talks about iOS 6; 9 years and 9 major updates later, quite a lot has changed. – Caleb Dec 01 '21 at 18:34

0 Answers0