# Access native platform apis in KMM on Windows

**URL:** <https://discuss.kotlinlang.org/t/access-native-platform-apis-in-kmm-on-windows/24356>\
**Category:** Multiplatform\
**Created:** [March 8, 2022, 9:17am UTC](https://discuss.kotlinlang.org/t/access-native-platform-apis-in-kmm-on-windows/24356 "2022-03-08T09:17:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isak](https://avatars.discourse-cdn.com/v4/letter/i/ac91a4/32.png) [@Isak](https://discuss.kotlinlang.org/u/Isak)\
**Post date:** [March 8, 2022, 9:17am UTC](https://discuss.kotlinlang.org/t/access-native-platform-apis-in-kmm-on-windows/24356/1 "2022-03-08T09:17:54Z")

</div>

Hello!

According to this answer [Kotlin IOS/Android Mutliplatform Hands On tutorial: Unresolved reference: platform - Stack Overflow](https://stackoverflow.com/a/59337375/10055887) is it not possible to access and code with native apis like the swift ones on Windows but only on macOS. I understand that to code in Swift you need to use macOS but does that also apply for the native code in the `iosMain` folder in the shared module? Is this correct or am I missing something?
