实现多个页面模态推出 A>B>C 之后 C>A

来源:互联网 发布:旺宁扣字软件手机版 编辑:程序博客网 时间:2024/06/05 12:30

//实现多个页面模态返回


//为了效果把两个要调过的界面射成透明, .presentingViewController就相当于当前页面之前的页面

    self.presentingViewController.view.alpha =0;


    self.presentingViewController.presentingViewController.view.alpha = 0;


    [self.presentingViewController.presentingViewController.presentingViewControllerdismissViewControllerAnimated:YEScompletion:nil];


0 0