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 orientation
Declared In
XCUIDevice.h
– pressButton:
Simulates the user pressing a physical button.
- (void)pressButton:(XCUIDeviceButton)button
Declared In
XCUIDevice.h