Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackViewController removeViewControllerAtIndex issue #25

Open
cikelengfeng opened this issue May 20, 2013 · 0 comments
Open

StackViewController removeViewControllerAtIndex issue #25

cikelengfeng opened this issue May 20, 2013 · 0 comments

Comments

@cikelengfeng
Copy link

Hi!
when I remove several viewController from StackViewController by removeViewControllerAtIndex ,and set animated to YES,I will remove only one VC.
and set animated to NO, I will remove correctly.
is this a bug?
when animated,the stack was been locked,then I can not remove next VC,is this right?
----------update------------
useful log
2013-05-20 15:51:35.883 下厨房菜谱[9987:907] [DEBUG](-[XcfNavigationController removeViewControllerAtIndex:animated:]) - stack after remove (
"XcfProfileViewController: 0x1da8ab40>",
"XcfProfileViewController: 0x1da05a10>",
"XcfDishDetailViewController: 0x1dc4afe0>"
)
2013-05-20 15:51:35.884 下厨房菜谱[9987:907] [DEBUG](-[XcfNavigationController removeViewControllerAtIndex:animated:]) - navigation bar items after remove (
"UINavigationItem: 0x1da96fd0>",
"UINavigationItem: 0x1db73290>",
"UINavigationItem: 0x1dc4e5a0>"
)
2013-05-20 15:51:35.886 下厨房菜谱[9987:907] [DEBUG](-[XcfNavigationController removeViewController:animated:]) - will remove XcfDishDetailViewController: 0x1dc4afe0>
2013-05-20 15:51:35.890 下厨房菜谱[9987:907] [DEBUG](-[HLSAnimationStep addObjectAnimation:forObject:]) - No object to animated
2013-05-20 15:51:35.891 下厨房菜谱[9987:907] [DEBUG](-[HLSAnimationStep addObjectAnimation:forObject:]) - No object to animated
2013-05-20 15:51:35.893 下厨房菜谱[9987:907] [DEBUG](-[HLSAnimationStep addObjectAnimation:forObject:]) - No object to animated
2013-05-20 15:51:35.894 下厨房菜谱[9987:907] [DEBUG](-[HLSAnimationStep addObjectAnimation:forObject:]) - No object to animated
2013-05-20 15:51:35.896 下厨房菜谱[9987:907] [DEBUG](-[HLSUserInterfaceLock lock]) - Acquire UI lock
2013-05-20 15:51:35.897 下厨房菜谱[9987:907] [DEBUG](-[HLSViewController viewWillDisappear:]) - View controller XcfDishDetailViewController: 0x1dc4afe0>: view will disappear, animated = YES
2013-05-20 15:51:35.898 下厨房菜谱[9987:907] Umeng: (logPageView) XcfDishDetailViewController 10 seconds
2013-05-20 15:51:35.899 下厨房菜谱[9987:907] [DEBUG](-[HLSViewController viewWillAppear:]) - View controller XcfProfileViewController: 0x1da05a10>: view will appear, animated = YES
2013-05-20 15:51:35.900 下厨房菜谱[9987:907] [DEBUG](-[HLSViewController viewWillAppear:]) - View controller XcfProfileDishesViewController: 0x1db74c30>: view will appear, animated = YES
2013-05-20 15:51:35.902 下厨房菜谱[9987:907] [DEBUG](-[XcfNavigationController removeViewControllerAtIndex:animated:]) - stack after remove (
"XcfProfileViewController: 0x1da8ab40>",
"XcfProfileViewController: 0x1da05a10>",
"XcfDishDetailViewController: 0x1dc4afe0>"//this VC should be removed,but failed
)
2013-05-20 15:51:35.903 下厨房菜谱[9987:907] [DEBUG](-[XcfNavigationController removeViewControllerAtIndex:animated:]) - navigation bar items after remove (
"UINavigationItem: 0x1da96fd0>",
"UINavigationItem: 0x1db73290>"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant