'Tried to pop to a view controller that doesn't exist.'

前端 未结 11 809
清酒与你
清酒与你 2021-02-05 12:13

I am getting this error when I call my method dismissView. Here is the method stub:

-(IBAction)dismissView
{
    RootViewController *rootController = [[RootViewC         


        
11条回答
  •  暖寄归人
    2021-02-05 12:50

    self.navigationController?.present(viewControllers, animated: true, completion: nil)
    

提交回复
热议问题