Closed Lukaszz112 closed 5 months ago
@Lukaszz112 Hi, thanks for the report. I struggle to recognise the problem. What did you specifically expect to happen, recomposition on navigating back to the second ViewController?
@elijah-semyonov I want to relaunch ViewController. There are some logs, look on thier behavior. After navigating back to the previous viewController its not recomposing, and viewModel onStart method isnt called. It was working on 1.5.12
It was a bug of 1.5.12, it was not supposed to recompose, the state didn't change.
If you need to perform some logic on appearance of ComposeUIViewController, check the ComposeUIViewControllerDelegate
API
okay thanks ill check
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
After compose upgrade from 1.5.12 to 1.6.0 my iOS screens are not recomposing correctly.
Versions
To Reproduce iOS Code snippet:
Kotlin code:
Expected behavior Screens are recomposing correctly
Video below
https://github.com/JetBrains/compose-multiplatform/assets/93291505/40972827-c364-44bf-b2d8-f43ff5f96428