iOSDevice.IsSimulator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.