0

(默认数据是X,动态数据是Y)当我segueway时如何保持我的数据Y?

当我在“seguewayed”视图上时,我按“返回”而不是“完成”,之前的数据 Y 设置为 X...我怎样才能保留这个数据 Y?

在prepareForSegue 中仅供参考,我将我的DATA Y 发送到destinationViewCtrlr。

谢谢

4

1 回答 1

0

找到了解决方案,

- (void) viewDidDisappear:(BOOL)animated{
//whatever action i want to do before the view goes away
}
于 2012-10-06T16:04:20.207 回答