How to synthesize / stimulate a touch event on an iOS device quickly?
1 answer
It is wrong and impossible to simulate user actions programmatically. The UITouch and UIEvent APIs are designed to get touch event data from the user so as not to create your own. I suggest you go back to your use case.
If you want to do this as part of your UI testing, take a look at XCUITests.
0
source to share