I have a small application for the iPhone , in which the navigation controller displays 3 views (here full screen ):

First, it displays a list of social networks (Facebook, Google+, etc.):

It then displays an OAuth dialog asking for credentials:

And (after that in the same UIWebView ) for permissions:

Finally, it displays the last view controller with user data (in a real application, this will be the menu where you can start the multiplayer game):

All this works well, but I have a problem when the user wants to come back and choose another social network:
The user accesses the "Back" button and instead of displaying the first view, the second is displayed, asking for OAuth credentials / permissions again.
What can i do here? Xcode 5.0.2 shows a very limited choice for segues β push , modal (which I cannot use because it hides the navigation bar needed for my game) and ordering .
I am new to iOS programming, but I previously developed the Adobe AIR mobile application , and it was possible there: 1) replace the view instead and 2) remove the unnecessary view from the navigation stack.
How to do the same in a native application?
ios objective-c iphone segue uistoryboardsegue
Alexander Farber Jan 28 '14 at 19:19 2014-01-28 19:19
source share