I have storyboard with these flow. I am using SWRevealViewController to navigate to each navigation controller.
- Navigation Controller 1 --> View Controller Initial (Home) --> View Controller Target
- Navigation Controller 2 --> View Controller X --> View Controller Y --> View Controller Target
- Navigation Controller 3 --> View Controller M --> View Controller Target
From View Controller Target on each flow, I want to override its back button so it could back to View Controller Initial (Home) and release its object on memory.
Is there any possible way to do this? Any help would be appreciated. Thank you.