Hello, I have a question. Is possible to add image...
# compose-ios
l
Hello, I have a question. Is possible to add image (jpeg) to iosMain/resources and use it in iosMain composables? I know about methods for Android (R file) and for Desktop (path), but I didn't find solution for iOS. #jetbrainscompose
d
Hello! Yes we have sample here: https://github.com/JetBrains/compose-jb/blob/8a635b6f964e405737fe1b5b62eb2c0d42787[…]c/commonMain/kotlin/example/imageviewer/view/FullscreenImage.kt You need to add additional library to build.gradle
Copy code
implementation("org.jetbrains.compose.components:components-resources:1.4.0-alpha01-dev942")
l
Great. Thank you.