KMMNewsAPP icon indicating copy to clipboard operation
KMMNewsAPP copied to clipboard

Destroy ViewModel onDisappear ios

Open subashz opened this issue 2 years ago • 0 comments

How to stop observing the state on ios onDisapper {}, right now it's getting called and there is no dinit or cancelled mechanism in *ObservableObject. I'm kinda new to ios and any help will be appreciate ? I just want to deallocate the viewmodel onDisappear {} .

subashz avatar Mar 14 '23 15:03 subashz