A present B , B present C 若是想直接從Cdismiss到A 調(diào)用下面的方法,Bdismiss出棧了,C就會(huì)自動(dòng)出棧的
[self.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
A present B , B present C 若是想直接從Cdismiss到A 調(diào)用下面的方法,Bdismiss出棧了,C就會(huì)自動(dòng)出棧的
[self.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];