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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:10:58+00:00 2026-05-20T12:10:58+00:00

I need help on this thing. I have 3 view controllers say Parent and

  • 0

I need help on this thing. I have 3 view controllers say Parent and Child1, Child2

in Parent viewcontollers I have a view called container and a segmented control.

Now I want that content of this ‘container’ view change with animation everytime the value of segmented control is changed.

I have done till here please tell me what needs to be added:

if (selectSearchType.selectedSegmentIndex==0) {



    [aAdvanceSearchViewContoller.view removeFromSuperview];
    [container addSubview:aBasicSearchViewController.view];

}else {
    NSLog(@"Advance Search");
    [aBasicSearchViewController.view removeFromSuperview];
    [container addSubview:aAdvanceSearchViewContoller.view];
}
  • 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-20T12:10:59+00:00Added an answer on May 20, 2026 at 12:10 pm

    Add the following lines to your code:

    [UIView beginAnimations:nil context:nil];
    [UIView setAnimationDuration:0.75];
    [UIView setAnimationDelegate:self];
    [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:myview cache:YES];
    [myview removeFromSuperview]; //remove or addSubview as required
    [UIView commitAnimations];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some help in coding this in C# I have a list of
Ok, I'm slowly getting a grasp on this, but I need some more help.
So I have a view model call ProductViewModel which has a list of sites
I currently have a simple app that includes user authentication through devise and a
really struggling with this one. I've recently setup a bash shell script to extract,
I have a problem, I tried to look at almost all the poster solutions,
I need to catch a hover event on top of a flash object, so
I have a Windows Service that monitors a COM port connected to a vendors
I have a menu and three hidden divs that show up depending on what
I'm trying to get my views to update when the user returns to the

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.