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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:02:38+00:00 2026-05-29T16:02:38+00:00

How to load multiple views one after the another once this view is displayed

  • 0

How to load multiple views one after the another once this view is displayed

- (void)displayviewsAction:(id)sender
{ 
PageOneViewController *viewController = [[[PageOneViewController alloc] init]autorelease];

viewController.view.frame = CGRectMake(0, 0, 320, 480);

[self.view addSubview:viewController.view];

[self.view addSubview:toolbar];

} 

Now on top of this viewcontroller how i can load multiple viewcontrollers one after the other.

Please advice.

Thanks for help.

  • 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-29T16:02:38+00:00Added an answer on May 29, 2026 at 4:02 pm

    It depends on how you want to display it. If you’re using a UINavigationController, you can do something like:

    [self.navigationController pushViewController:viewController animated:YES];
    

    or, if you’d like to present it as a modal view, you can do this to support older versions of iOS:

    [self presentModalViewController:viewController animated:YES];
    

    or, if you’re only targeting iOS 5, do this:

    [self presentViewController:viewController animated:YES completion:NULL];
    

    Then to dismiss the view controller, on older versions of iOS:

    [self dismissModalViewControllerAnimated:YES];
    

    or if you’re only targeting iOS 5:

    [self dismissViewControllerAnimated:YES completion:NULL];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using this class to load multiple images synchronously. Somehow the loader doesn't
I am using multiple partial views on my View. on the left-hand side. I
I have this iPad application with different NIBs and views. Each view has two
I am trying to load multiple elements with the same name from XML into
I am attempting to load multiple images in AS3 and I'm exploring different options
I'm creating a .net custom control and it should be able to load multiple
We are creating multiple child classloaders to load in multiple subapplications into a Java
I'm trying to turn Etags off on iis 6 since I'm load ballancing multiple
During an ASP.NET page load I'm opening and closing multiple System.Data.SqlClient.SqlConnections inside multiple controls
I currently have a table which stores a load of statistics such as views,

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.