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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:31:40+00:00 2026-06-11T14:31:40+00:00

That’s what I’m trying to do: I have a navigationController based app and many

  • 0

That’s what I’m trying to do: I have a navigationController based app and many different views. Let’s say that on the third view, I want to view the view 4 using UIModalTransitionStyleCoverVertical. That I have done it using this code:

-(void)changeView4{
    View4 *screen = [[View4 alloc]initWithNibName:nil bundle:nil];
    screen.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
    [self presentModalViewController:screen animated:YES];    
}

On the view 4 I have a button to return back to the view 3, but the problem is that when I press it, the View3 doesn’t show the navigation controller, so i can’t return to the view 2. Can somebody help me? 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-11T14:31:41+00:00Added an answer on June 11, 2026 at 2:31 pm

    When you “return” to your third view, you’re not actually going back to the third view that you showed earlier; instead, you create a new third view, and present it over your fourth view. At that point, your view stack looks like this:

    View 3 // don't want this!
    View 4
    View 3 // want to get back to here!
    View 2
    View 1
    

    Instead of creating a new View3 instance, you should dismiss your existing fourth view using something like the following:

    // Inside View4
    - (IBAction)dismissView4:(id)sender {
        [self dismissViewControllerAnimated:YES completion:nil];
    }
    

    This should get you back to the third view that you had earlier, which should have the navigation bar showing with the appropriate back button.

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

Sidebar

Related Questions

That's pretty much what I am trying to accomplish. To have each image appear
That sounds complicated, doesn't it... actually it's quite easy: I have a multi-language app
I have a French site that I want to parse, but am running into
That's what I want to know. If I have to encrypt the cookie value
That title is presumably awfully worded. I have some PostgreSQL tables. There is a
That's how cell selection looks in MS Excel: Is it possible to have the
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
That's what i want to do <ul> <li> <a href=# alt=1> User1 </a> <li>
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
That is to say, if I set an animation to take 1 second, will

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.