UINavigationController奇怪的崩溃

时间:2011-05-20 13:27:21

标签: iphone uinavigationcontroller

我的UINavigationController出现了一个奇怪的问题。 stacktraces是:

trace

这对我来说很奇怪,因为我所做的只是:

CommonVC* cvc = [[CommonVC alloc] init];
//CommonVC is my customized viewController. and i did some setting after the init.
[self.navigationController pushViewController:cvc animated:TRUE];
[cvc release];

并且在推动和弹出3次之后崩溃了。 我也用NSZombie运行它,但它告诉僵尸是CommonVC本身。

enter image description here

所以有人可以帮我找到问题所在吗?

1 个答案:

答案 0 :(得分:2)

您是否使用委托并在视图控制器中设置它们。如果是,请检查它们是否为零......

相关问题