Siggi Gunnarss
11/21/2024, 1:38 PMexceptionWithName:@"CMPViewControllerMisuse"
reason:@"CMPViewController shouldn't be reused after completely removed from hierarchy, because it's logically marked as Destroyed. You must create a new CMPViewController and use it instead."
I have a Compose view inside a LazyVStack
. It looks like the ComposeUIViewController
, which is in a disposed state, is being reused by the SwiftUI system.
I'm wondering if my use case is not supported since I can't find any way where my own code is holding on to the CMPViewController.
Has anyone here used a Compose view inside a LazyVStack?Andrei Salavei
11/23/2024, 9:31 AMSiggi Gunnarss
11/23/2024, 12:09 PM