我已经把它归结为:
XCUIDevice.pressButton(noideawhatgoeshere)
我试过XCUIDeviceButtonHome,home,Home,1
不知道如何模拟按下主页按钮,有没有人有任何指针?我是xCode/swift的新手
ui-automation ios-ui-automation swift ios9 xcode7
ios-ui-automation ×1
ios9 ×1
swift ×1
ui-automation ×1
xcode7 ×1