I have something like this:
My rootViewController
is a navigationBar
- let this be A. The rest are normal UIViewControllers
, and are programmatically segue via push (through a button IBAction
method).
However going from D -> A, I use unwind segue (also via performSegueWithIdentifier:sender
:).
The issue here is that when the segue is performed, B, C and D are not deallocated
at all. Not only is this causing a memory leak issue but my timers are still running. I'm not sure why this is the case. I thought unwind segues are suppose to handle all these for you? Any idea why?