标签:
ViewController *rootVC = (ViewController *)self.presentingViewController;
while (rootVC.presentingViewController) {
rootVC = (ViewController *)rootVC.presentingViewController;
}
[rootVC dismissViewControllerAnimated:YES completion:nil];
标签:
原文地址:http://www.cnblogs.com/shifu/p/5689121.html