Share via


iOSDevice Class

Definition

Runtime information and control of device.

public class iOSDevice : Xamarin.UITest.IDevice
type iOSDevice = class
    interface IDevice
Public Class iOSDevice
Implements IDevice
Inheritance
iOSDevice
Implements

Properties

DeviceIdentifier

The identifier of the device.

DeviceUri

The uri of the device.

IsPhone

Whether the current test is running on a phone.

IsSimulator

Whether the current test is running on a simulator.

IsTablet

Whether the current test is running on a tablet.

OSVersion

What iOS version is running on the device/simulator

Methods

SetLocation(Double, Double)

Change GPS location of the device.

Applies to