I currently find a really wired problem when I using the statement with stroyboard
SomeViewController *homeView = [self.storyboard instantiateViewControllerWithIdentifier:@"someID"];
[self.navigationController pushViewController:homeView animated:YES completion:NULL];
and when I using
[self.navigationController popViewControllerAnimated:YES];
in the view Controller that I have pushed, the memory did not get dealloc (I am using ARC)
However, if I use
[self performSegueWithIdentifier:@"pushToHomeView" sender:self];
when I pop from the homeView's memory get freed.
I really want to why the push a view programatically will give me this problem.