很简单,就一句话:
[self.presentingViewController.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
我的记法是⚠️:“返回上上上一个viewcontroller”里有三个“上”,“self.”后面的“presentingViewController”就写几个!
很简单,就一句话:
[self.presentingViewController.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
我的记法是⚠️:“返回上上上一个viewcontroller”里有三个“上”,“self.”后面的“presentingViewController”就写几个!