Calling pop() in my case did not release the model class. I put deinit inside my class but it still hasn't been released, causing the RAM to increase.
I had a similar situation when using PopupView.
But my model class works fine with SwiftUI's complex Navigation API (.navigationDestination…)
Calling pop() in my case did not release the model class. I put
deinit
inside my class but it still hasn't been released, causing the RAM to increase. I had a similar situation when using PopupView.But my model class works fine with SwiftUI's complex Navigation API (
.navigationDestination…
)