How can I pop a view from a UINavigationController and replace it with another in one operation?

后端 未结 16 2115
谎友^
谎友^ 2020-11-27 10:01

I have an application where I need to remove one view from the stack of a UINavigationController and replace it with another. The situation is that the first view creates an

16条回答
  •  有刺的猬
    2020-11-27 10:38

    You can check with navigation view controllers array which you give you all view controllers that you have added in navigation stack. By using that array you can back navigate to specific view controller.

提交回复
热议问题