Can we create multiple navigation controllers in iOS?

I'm a little confused about navigation controllers. One navigation controller has a large number of controllers. I have seen so many examples with one navigation controller. Can we create multiple navigation controllers in iOS and in each navigation controller, can we define multiple view controllers? Is it possible? Please someone explain this to me and give examples of real examples, if possible. Thanks in advance.

+4
source share
1 answer

You should see sample programs in the Apple documentation. The navigation controller is a stack that starts at the delegation level of the application. You push view controllers onto the stack and push them when you are done ... Returning to the previous level. You can poptoroot, which drops to the lowest level just above the application delegate.

You have the opportunity to have as many navigation controllers as you have tabs in the tab bar. this is not confusing ... Apple has many good examples that illustrate them ... Believe that the pattern of Elements is one.

+5
source

Source: https://habr.com/ru/post/1400194/


All Articles