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

  • Home
  • SEARCH
  • 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 6044981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:04:26+00:00 2026-05-23T07:04:26+00:00

Now I have four UITableViewControllers . A B1, B2 C I need the following

  • 0

Now I have four UITableViewControllers.

  • A
  • B1, B2
  • C

I need the following effect:

  • Select an item on A can push to B1
  • Tap the rightBarButtonItem on B1 can flip horizontal to B2
  • Tap the rightBarButtonItem on B2 can flip horizontal to B1
  • Select an item on B1 or B2 can push to C
  • Can pop to A at B1 or B2

All views (A, B1, B2 and C) should have NavigationBar.

Now I can navigate between A, B1, B2, C. I can also flip to B2 using the following code:

//self is B1
- (IBAction)b2ButtonPressed
{
    B2ViewController* B2 = [[B2ViewController alloc] init];
    B2.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;

    [self presentModalViewController:B2 animated:YES];
}

But on B2 the NavigationBar is missing.

I have an app on my iPod touch has such feature. How can I make it myself?

  • 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-05-23T07:04:27+00:00Added an answer on May 23, 2026 at 7:04 am

    If you show the view controllers by modal presenting, not by navigation controller’s push or pop, you should wrap a navigation controller for the view controller in order to show the navigation bar:

    - (IBAction)b2ButtonPressed
    {
      B2ViewController* B2 = [[B2ViewController alloc] init];
      UINavigationController *B2Nav = [[UINavigationController alloc] initWithRootViewController:B2];   
      B2Nav.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
      [self presentModalViewController:B2Nav animated:YES];
      [B2 release];
      [B2Nav release];
    }
    

    And don’t forget to setup left or right bar button item for navigation bar in your B2ViewController.

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

Sidebar

Related Questions

Following on from this question I now have code that can attach to a
Imagine the following REBOL code: foo: context [bar: 3] I now have a context
I have four parameters in my report. Now I want to configure the report
I have managed to create a menu with four options. I would now like
I need to solve the following question which i can't get to work by
Here is where I am at right now. I have four tables: task, project,
I have the following code: ' Now retabulate the current occupancy. For Each row
I have the following PHP Classes class.property.php class.location.php class.amenity.php class.category.php all four classes handles
I now have it set up so that when people go to a thank
Modern ATL/MFC applications now have access to a new shared pointer class called CAutoPtr,

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.