dismissViewControllerAnimated is called but ViewController is not dismissed

前端 未结 5 1646
旧巷少年郎
旧巷少年郎 2021-02-02 06:02

I am having a problems with the dismissViewControllerAnimated method not closing down the view.

What is happening in the app here is:

  • Cell in
5条回答
  •  清歌不尽
    2021-02-02 06:57

    What if you call [controller.navigationController popViewControllerAnimated:YES] instead?

    For that matter, what if you call [controller dismissViewControllerAnimated:YES completion:nil] instead of calling it on self?

提交回复
热议问题