Class

XCUIRemote

Simulates interaction with a physical remote control.

Declaration

class XCUIRemote : NSObject

Topics

Accessing the Simulated Remote

class var shared: XCUIRemote

The simulated physical remote control.

Pressing Remote Buttons

func press(XCUIRemote.Button)

Sends a momentary press of a button on a physical remote control.

func press(XCUIRemote.Button, forDuration: TimeInterval)

Sends a press and hold of a button on a physical remote control, holding for the specified duration.

enum XCUIRemoteButton

A button on a physical remote control.

Relationships

Inherits From

Conforms To