iOS - Can an app running in the background send touch / gesture events to another app in the foreground?

前端 未结 3 710
旧巷少年郎
旧巷少年郎 2020-12-18 15:54

I have been asked to develop an app that will record and later \"play back\" touches and gestures onto another app running in the foreground.

From my experience and

3条回答
  •  伪装坚强ぢ
    2020-12-18 16:28

    It's actually possible with facebook's idb: https://github.com/facebook/idb/

    As it stated: Remote Automation. idb has a “companion” that runs on macOS and a python client and cli that runs anywhere. This enables scenarios such as a “Device Lab” within a Data Center or fanning out commands to large numbers of iOS Simulators.

    As facebook stop support on WebDriverAgent, it's the best option we have right now

提交回复
热议问题