Version: 2021.1

Device.iosAppOnMac

切换到手册
public static bool iosAppOnMac ;

描述

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.