主题说明了一切。我想将一些代码包装到此方法调用的completionHandler中。我该怎么做?
要包装在完成处理程序中的代码:vm.CancelDonationCommand.Execute(null);
this.DismissViewController(true, ???);
答案 0 :(得分:0)
这是我发现适用于这种情况的表格。
this.DismissViewController(true, () => { put commands here });