I am working on a project where I want to manually start the main event loop in IOS. That is, I want to remove from UIEvents from the source, and then send them to UIApplication.
I found examples of how to do this for OS X, and it works. In this case, we are talking about calling "nextEventMatchingMask" and then "sendEvent" in the NSApplication object.
However, I cannot find equivalent means for collecting events on IOS with a UIApplication object. I read about the "event queue", but I still do not see how I can get a link to this queue object. Does anyone know how I can get UIEvents from a source so that I can send them to UIApplication?
source
share