This version of Unity is unsupported.

Device.iosAppOnMac

public static bool iosAppOnMac;

Description

Specifies whether app built for iOS is running on Mac.

Apps built for iOS can be run on Mac computers equiped with Apple Silicon chips. This flag indicates whether iOS app is running on designated iOS device (iPhone, iPad, iPod) or on Mac.