Has anyone managed to get a smooth transition betw...
# compose-ios
a
Has anyone managed to get a smooth transition between a native iOS launch screen using plist approach and the compose view controller? I’m observing a white flash in between and looks quite jarring.
👍 1
m
a
I’m not sure, it could be
trying to find a workaround by obscuring the compose view controller with an extra SwiftUI splash screen until I receive a callback from the Kotlin side out to swift to notify that it’s “ready”
I’m not using iOS navigation, all in app navigation is handled by decompose
but it feels like it takes some time for the first frame to render, or something 🤔
looking at the video, it looks like it could be the same underlying issue
e
Yes, we are aware of that issue and currently working to resolve it. You could slap UIViewController constructed from LaunchScreen storyboard and fade it away in 100ms, should hide the issue for now.
a
that’s pretty much what I did actually 😅
😁 1
so native iOS splashscreen from plist, to the compose view controller that’s obscured by a second SwiftUI splashscreen for a short time before fading
e
Right, should do the job, add a fancy dismiss animation on top, so it will be a sad experience to remove it once it’s not needed 🙂
😄 1
a
for me it’s not a big deal as the app is 99% compose based, so I can get away with having a temporary SwiftUI splashscreen there without it looking too out of place. Navigation is all compose based (with decompose)
decompose intensifies 1
It’s fine I’ve gotten used to removing temporary workarounds for iOS, like dynamic light/dark theme and some other things 😄
👍 1
or dialog support, I enjoyed deleting the code I wrote to do that, admittedly with a little tear in my eye 😅
K 1