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 7803905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:44:18+00:00 2026-06-02T01:44:18+00:00

I have 4 views embedded in a Navigation Bar: VC1 -> VC2 -> VC3

  • 0

I have 4 views embedded in a Navigation Bar:

VC1 -> VC2 -> VC3 -> VC4

I need Back button from VC3 to be segued to VC1 instead of VC2. I have searched to implement this option but I wasn’t successful. Is it possible?

Many thanks

  • 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-02T01:44:20+00:00Added an answer on June 2, 2026 at 1:44 am

    You can’t change the behavior of the back button if you want it to keep it’s normal appearance, but you could resort to a dirty fix (I’m not familiar with a better way of doing this) if you can’t organize your application better. It involves editing the navigation stack directly and removing the view controller you don’t need from it.

    It’s not a recommended way of handling this, but it gets the things done:

    NSMutableArray *myNavigationStack = [NSMutableArray arrayWithArray:self.navigationController.viewControllers];
    [myNAvigationStack removeObjectAtIndex:<yourViewControllerExtraIndex>];
    self.navigationController.viewControllers = navigationStack;
    

    Make sure you get the right index (0 being your rootViewController), and to handle your memory properly.

    Probably the best way of going around this is to design the architecture of your application to avoid this kind of behavior completely.

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

Sidebar

Related Questions

I have 5 views in my ASP.NET MVC application. Some data were captured from
i have 2 views. A button and an UIimageView in view 1. In view
I need to have HTTP server embedded in my .NET application. Simply, there will
I have a MVC2 website which uses views from other assemblies. To do this,
I have implemented my own VirtualPathProvider for loading 'embedded' views. This works very well
I have an MVC Application the views was embedded in the compiled dll, how
I have two views, one view takes the whole screen, the second view covers
I have my views render to route requests like /controller/action (for instance, /Page/Create), so
I have two views within one .xib (one view for landscape, another for portrait).
I have two views that I would like to combine into one. The first

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.