XCUIDevice Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | XCUIDevice.h |
Overview
Represents a device, providing an interface for simulating events involving physical buttons and device state.
orientation
The orientation of the device.
@property (nonatomic) UIDeviceOrientation orientationDeclared In
XCUIDevice.h
– pressButton:
Simulates the user pressing a physical button.
- (void)pressButton:(XCUIDeviceButton)buttonDeclared In
XCUIDevice.h