Rotate devices
suggest changeDevice can be rotate by changing orientation
in XCUIDevice.shared().orientation
:
XCUIDevice.shared().orientation = .landscapeLeft
XCUIDevice.shared().orientation = .portrait
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents