In an application based on a tab bar. If I have one controller that is inserted into the navigation stack from one tab, and then, when another tab is active, I try to pull this controller out, it does not release unless I pulled it out without animation.
It works:
[navigationController popToRootViewControllerAnimated:NO]
And this is not so:
[navigationController popToRootViewControllerAnimated:YES]
Does anyone know what is going on here? Is the animated parameter used incorrectly?
UPDATE:
Apple informed me that this is really a mistake in UIKit, and they marked it as urgent and assigned it to someone. This may have been allowed in recent releases, but I did not have time to check.
objective-c iphone uitabbarcontroller uinavigationcontroller
eugeniodepalo
source share