Hi I'm writing some XCTest in Swift for iOS 14.
Back in iOS 13 the springboard handled the call screen and you could end a call with
let app = XCUIApplication(bundleIdentifier: "com.apple.springboard")
app.buttons["End call"].firstMatch.tap()
However the springboard does not seem to contain the end call button for iOS 14! So how do you end a call in iOS 14?
question from:
https://stackoverflow.com/questions/66048747/how-to-cancel-a-call-with-xctest-for-ios-14 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…