語言

SupportedSimulatorAttribute(String) 建構函式

定義

初始化一個新 SupportedSimulatorAttribute 屬性。

public SupportedSimulatorAttribute(string platformName);
new ObjCRuntime.SupportedSimulatorAttribute : string -> ObjCRuntime.SupportedSimulatorAttribute

參數

platformName
String

模擬器中支援此 API 的平台。 格式:平台名稱(例如「ios」、「tvos」)後接版本號(例如「ios17.0」)。

適用於