Switch application views based on one view on iPhone

I have a simple presentation based application. I want to switch this original view to another view when I click the button on the original view. I do not want to use the navigation manager, or switchviewcontroller, I just want to change the type of root for another.

Thanks Joe

+3
source share
1 answer

This apple is not recommended. If you have multiple views, you should use a TabBar controller or navigation controller. One reason is because messages, such as viewDid / WillAppear, are not sent when you incorrectly add views.

, , , . .

"" . . , , .

+1

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


All Articles