You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Indicates whether the current application is running on iOS.
181
+
/// Indicates whether the current application is running on iOS or MacCatalyst.
177
182
/// </summary>
183
+
[SupportedOSPlatformGuard("maccatalyst")]
178
184
publicstaticboolIsIOS()=>
179
-
#if TARGET_IOS
185
+
#if TARGET_IOS||TARGET_MACCATALYST
180
186
true;
181
187
#else
182
188
false;
183
189
#endif
184
190
185
191
/// <summary>
186
-
/// Check for the iOS version (returned by 'libobjc.get_operatingSystemVersion') with a >= version comparison. Used to guard APIs that were added in the given iOS release.
192
+
/// Check for the iOS/MacCatalyst version (returned by 'libobjc.get_operatingSystemVersion') with a >= version comparison. Used to guard APIs that were added in the given iOS release.
0 commit comments