views:

27

answers:

0

I am attempting to use the GraphicsServices framework to send a fake touch event to Springboard.

I am writing this application in XCode and using it from within a .app, although I use Backgrounder to send the majority of the system events (to other applications or Springboard itself). I doubt this will cause any issues, but I could be wrong.

I have looked at Saurik's source code for Veency to try to see how he sends the events, but there seems to be a lot of button checking and odd hexadecimal math. I'm simply looking for how to send a touch event, like tap at (x,y), and if at all possible, send a drag event like slide from (x1,y1) to (x2, y2).

I have posted this question before, but I was unable to figure out a simple example, start to finish, of how to send this type of event. Hopefully KennyTM or another smart person who has worked with these private frameworks will help me out!

Thanks in advance!