inti =0;
UIViewController*vc =self;
while(vc.presentingViewController!=nil) {
i++;
if(i==4) {
break;
}
vc = vc.presentingViewController;
}
[vcdismissViewControllerAnimated:YEScompletion:^{
}];
inti =0;
UIViewController*vc =self;
while(vc.presentingViewController!=nil) {
i++;
if(i==4) {
break;
}
vc = vc.presentingViewController;
}
[vcdismissViewControllerAnimated:YEScompletion:^{
}];
本文标题:iOS dismiss到前几个界面
本文链接:https://www.haomeiwen.com/subject/rmlbxxtx.html
网友评论