iolate / SimulateTouch

Simulate touch library for iOS
MIT License
506 stars 159 forks source link

add press/home/home action #27

Closed lee-jay closed 7 years ago

lee-jay commented 7 years ago

I found that the button action must be a pair of state 0 and state 1. If not, the power button action will lead phone to shutdown view.

So I added press/home/power button action individually using sleep() function. Maybe there is another better solution here. Please advise, thank you.