26 questions
0
votes
0
answers
36
views
UIKitViewController in Compose Multiplatform loses state on device rotation
I am building a Kotlin Multiplatform app where I want to use shared UI with Compose for both Android and iOS. However, I need some native views with their own state for certain parts of the app, so I’...
1
vote
0
answers
120
views
Incorrect Colors in Compose MultiPlatform (CMP) iOS Screenshot
I'm building a Compose Multiplatform (CMP) app using Jetpack Compose for iOS and trying to capture a screenshot of a composable UI.
The screenshot works, but the colors are wrong, In the Ui the Error ...
0
votes
1
answer
105
views
Compose Multiplatform Library [closed]
I'm trying to create a Compose multi-platform library for shared UI components between iOS, Android, and Desktop.
Unfortunately I'm not able to find any source or tutorial to help me to create one. ...
0
votes
1
answer
180
views
Compose Multiplatform composable not rendering inside SwiftUI Form
I'm unable to render a Compose Multiplatform view inside a SwiftUI Form. However, it works outside of the Form.
SwiftUI view:
struct ContentView: View {
var body: some View {
Form {
...
0
votes
1
answer
202
views
Compose Multiplatform UI in iOS Share Extension shows blank screen
I'm trying to use Compose Multiplatform UI in an iOS Share Extension, but the Compose content only shows a blank white screen. Here's what I've observed:
The UIViewController is sized correctly (the ...
1
vote
0
answers
231
views
How do I fix java.lang.NoSuchMethodError: No static method rememberSnapFlingBehavior in Compose Multiplatform
I'm trying to use CupertinoTimeDatePicker on a compose multiplatform project. Whenever I do that, I always get this error:
java.lang.NoSuchMethodError: No static method rememberSnapFlingBehavior(...
8
votes
1
answer
787
views
How to integrate native iOS navigation (including swipe back) in a Compose Multiplatform project?
I’m working on a Compose Multiplatform project, and I’m looking to implement smooth native iOS navigation specifically for the iOS part of the app, with support for swipe-back gestures (like the ...
3
votes
0
answers
251
views
Add new module in Compose Multi Platform (CMP)
Currently, I working in the Compose Multiplatform and want to add "Kotlin Multiplatform Shared Module". The name of module is ":feature:learning", I already add dependency to ...
2
votes
1
answer
907
views
Not able to read json files from Kotlin Multiplatform library working for android but not working for iOS
I'm using KMM library in my project. I want to access local json files in both iOS and Android from shared resources. I don't want to use files from iOS App.
I have written following code in shared/...
0
votes
1
answer
481
views
Can we publish compose multiplatform iOS on app Store?
As we all know that now we can develop iOS applications in Kotlin Multiplatform (KMP) with shared UI or using Compose Multiplatform (CMP).
Now CMP is currently in Beta so can we publish compose ...
0
votes
1
answer
134
views
Troubleshooting AVFoundation QR Scanner Stops in Compose Multiplatform
I have integrated the Camera Scanner from AVFoundation into a Compose Multiplatform project. The scanner scans a few times (randomly 5-6 times) before ceasing to scan further, although the live ...
2
votes
1
answer
644
views
How to detect Lifecycle of iOS app in Compose Multiplatform
I implemented the lifecycle detector for iOS in the Compose Multiplatform Project using the below code.
val lifecycleDelegate: ComposeUIViewControllerDelegate = object : ...
8
votes
5
answers
7k
views
Status Bar Color Change in Compose Multiplatform
I want to change the status bar color. I have tried some code in App.kt file MaterialTheme{
}
But it's not affect on statusbar color.
I want to change the status bar color like the background of then ...