Here is the position, I have login page as the initial routeview of the tab bar. After the login process is completed, the view is removed from the navigation controller, so you do not navigate back it. I have a place in the app where you can logout the logout process works fine, but when I try to return the initial login view (which we had removed) from the user within the same tab bar item, So I can not seem to just reset the desired visual controller stack element. Is this a question that I am changing? It is not about extracting the current scene. I have tried lots of stuff, popo, popeway, and many others, and nothing is working properly. Did anyone have to deal with this?
Try to create your login view controller in a modal view controller, which requires entering the credentials Then, the fashion goes.
A modal view controller is perfect for visual controllers that you do not need to keep around, but your application may be needed at various points of "flow".
Laurent Link will tell you what the various options for navigation stack are, and Apple's documentation suggests references in which these different view controller types are useful, I recommend reading it.
Comments
Post a Comment