SWRevealViewController
SWRevealViewController copied to clipboard
Stop viewController from deallocating when change the front viewController through SWReveal.
Hi
I have a ChatLogVC
as the main VC of the app, it has a SWRevealController as a side menu.
Currently, we don't cache the data of the inside of ChatLogVC
, so, when changing the front VC and going back to it, it's being reallocated.
Please provide me with any available option to solve this problem, thank you.
You just have to save the instance of your controller somewhere! And when you change VC, present this one!