Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fenrus110

macrumors regular
Original poster
Mar 24, 2008
142
0
Anyone else experience this? I don't know if I am coding this wrong or anything, but when I use the popToViewcontroller or popToRootViewController, it seems to do it in the wrong order.

ie, I have view controllers root-second-third

In third if I use popToRootViewController or

[self.navigationController popToViewController: [self.navigationController.viewControllers objectAtIndex:0] animated:YES];

I NSLog the dealloc, I get

dealloc second
dealloc third

When it should be the other way around...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.