How to pop a viewController and then Push a viewController through delegation

后端 未结 5 1066
长情又很酷
长情又很酷 2021-02-09 00:56

I have a UITableViewController that when a cell is pressed, I want the controller to pop itself, and then have the controller it pop\'s to, push another view controller onto the

5条回答
  •  一整个雨季
    2021-02-09 01:16

    Don't pop it from the top level controller. Call the delegate method that will pop the view off the navigation controller and then push a new one on.

提交回复
热议问题