OperatingSystem.IsTvOS Method

Definition

Indicates whether the current application is running on tvOS.

public:
 static bool IsTvOS();
public static bool IsTvOS ();
static member IsTvOS : unit -> bool
Public Shared Function IsTvOS () As Boolean

Returns

true if the current application is running on tvOS; false otherwise.

Applies to