这是按调用顺序排列的代码。UIAlertView当这段代码被调用时,屏幕上会出现A :
[upcAlertView dismissWithClickedButtonIndex:0 animated:YES];
[self.navigationController pushViewController:editController animated:YES];
问题是出现时UIAlertView不会从屏幕上删除editController。我需要这些事情发生,因为我有一些加载正在进行,viewWillAppear所以editController我想添加一个快速进度轮(但我需要对话框消失)。这段代码是从主线程调用的。
任何人有任何见解?