SupportedSimulatorAttribute(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新 SupportedSimulatorAttribute 屬性。
public SupportedSimulatorAttribute(string platformName);
new ObjCRuntime.SupportedSimulatorAttribute : string -> ObjCRuntime.SupportedSimulatorAttribute
參數
- platformName
- String
模擬器中支援此 API 的平台。 格式:平台名稱(例如「ios」、「tvos」)後接版本號(例如「ios17.0」)。