aboutsummaryrefslogtreecommitdiff
path: root/shared/src/iosMain/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src/iosMain/kotlin')
-rw-r--r--shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt
new file mode 100644
index 0000000..4c557dd
--- /dev/null
+++ b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt
@@ -0,0 +1,7 @@
+package mx.trackermap.TrackerMap
+
+import platform.UIKit.UIDevice
+
+actual class Platform actual constructor() {
+ actual val platform: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
+} \ No newline at end of file