iphone - pop more than one views when back button is pressed? -


I am developing an application in which I am using a login form on the first screen. If the user is new, then he joins with the signup form and then he is taken to the home page as a normal user.

Now my question is, "If the new user presses back the BTN, then I send it back to the login page, sign-up form and not in the middle of all?"

Should I change the navigation controller's view controller array ?

- (NSArray *) contains popToRootViewController: animated on (BOOL) Code> UINavigationController The user will pop the previous view controller back into the stack.

If you want to get the navigation stack in a new known position, then you can use the - (zero) SetViewControllers: Animated Animation (NSArray *): (BOOL) Animated The last item in the array will then be active.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -