Condividi tramite


iOSDevice.IsSimulator Proprietà

Definizione

Indica se il test corrente è in esecuzione in un simulatore.

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

Valore della proprietà

Boolean

true se è simulatore; in caso contrario, false.

Si applica a