Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8811139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:17:19+00:00 2026-06-14T03:17:19+00:00

I have 3 viewControllers, From the first i go to the second, and from

  • 0

I have 3 viewControllers, From the first i go to the second, and from the second to the third.

I want to go from the third view controller back to the first.

One solution I found is to create a custom button and replace the back button, this way I perform my own selector and go back to the firstVC. But the button I created doesnt look like the back button.

So one solution I thought about is:

Once I enter the third view controller, alter the viewControllers arrays in the navigationController removing the second view controller. This way it would go back to the first without changing the back button.

Is this possible? can I change the UINavigationController stack at will?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:17:20+00:00Added an answer on June 14, 2026 at 3:17 am

    I don’t know the details of what you are doing but you want to avoid going back twice when the user expects to go back once with that back button. I would think a good solution would be to have some other action on the view.

    So I assume from what you said that if the user goes to that view they need to go back to the start and cannot go back to the second view controller. On the third VC I would hide the back button or the navigation bar completely and then have another button on the view that clearly does some action and then you can just popToRootViewController.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

a have a small problem when i want to skip from the first view
I have a situation where I want to open one modal controller from the
In my custom View which I have added to my viewControllers's view, I need
I have a long View Controllers hierarchy; in the first View Controller I use
Possible Duplicate: Passing model objects from one view controller to another in a navigation
Hey all, Here's a funny one. I have two ViewControllers: first one (fires on
How to access navigation controller from the AppDelegate? Suppose I have the following viewControllers:
I have two ViewControllers.. the first one is a grid of UIButtons, and the
I have one ViewController, in this i have added one Custom UIView named as
I have task to make simple app from three Views: in first: UITableView (it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.