We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6095fb3 commit 9016b22Copy full SHA for 9016b22
src/MetricKit/MXMetaData.cs
@@ -1,4 +1,4 @@
1
-#if IOS
+#if IOS || __MACCATALYST__
2
3
#nullable enable
4
@@ -12,6 +12,15 @@ namespace MetricKit {
12
13
public partial class MXMetaData {
14
15
+#if NET
16
+ [SupportedOSPlatform ("ios14.0")]
17
+ [SupportedOSPlatform ("maccatalyst14.0")]
18
+ [SupportedOSPlatform ("macos12.0")]
19
+ [UnsupportedOSPlatform ("tvos")]
20
+#else
21
+ [Introduced (PlatformName.iOS, 14, 0)]
22
+ [Introduced (PlatformName.MacOSX, 12, 0)]
23
+#endif
24
public virtual NSDictionary DictionaryRepresentation {
25
get {
26
if (SystemVersion.CheckiOS (14,0))
0 commit comments