场景:A(ViewController)-->B(ViewController)-->C(ViewController)
此时,想要在C中直接回到A:
[self.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
场景:A(ViewController)-->B(ViewController)-->C(ViewController)
[self.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
本文标题:想Present多个ViewControlle后,直接返回根视图
本文链接:https://www.haomeiwen.com/subject/tkhsxxtx.html
网友评论