dismissViewControllerAnimated还未结束,就pushViewController;
应该将push代码写在dismiss的block中:
[self dismissViewControllerAnimated:NO completion:^{
//do
push
}];
复制代码
dismissViewControllerAnimated还未结束,就pushViewController;
应该将push代码写在dismiss的block中:
[self dismissViewControllerAnimated:NO completion:^{
//do
push
}];
复制代码