Enumeration

XCUIRemoteButton

A button on a physical remote control.

Declaration

iOS, macOS, Mac Catalyst
enum XCUIRemoteButton : UInt
tvOS
enum Button : UInt

See Also

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.