iOSDevice.IsSimulator Property

Definition

Whether the current test is running on a simulator.

public bool IsSimulator { get; }
member this.IsSimulator : bool
Public ReadOnly Property IsSimulator As Boolean

Property Value

true if is simulator; otherwise, false.

Applies to