Files
kmp-template/composeApp/src/iosMain/kotlin/dev/carlosmartino/triplogic/Platform.ios.kt

9 lines
265 B
Kotlin
Raw Normal View History

2025-09-17 11:31:16 -03:00
package dev.carlosmartino.triplogic
import platform.UIKit.UIDevice
class IOSPlatform: Platform {
override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
}
actual fun getPlatform(): Platform = IOSPlatform()