在我的主视图Controller上,我有一个显示另一个ViewController的按钮,可以在其中更改一些设置:PresentViewController(newUINavigationController(anotherViewController),true,null);对于anotherViewController的解雇,parent应该负责。我还必须知道是否有什么改变(保存)。因此我使用事件。我在父ViewController的viewWillAppear中附加事件处理程序anotherViewController.DismissMe+=CancelEventHandler;