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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:49:24+00:00 2026-05-25T21:49:24+00:00

I have made many tries to have the same effect of switch than the

  • 0

I have made many tries to have the same effect of switch than the one you can see when calling a phone number : the front view disapear with a zoom effect, while the other one appears also with a zoom effect.

I can’t achieve doing that effect, it’s always a so-so. There seems to have a scale effect, with an action on opacity, but…

Do you know how this can be done to reflect that effect (not a so-so, I have tons of those) ?

  • 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-25T21:49:25+00:00Added an answer on May 25, 2026 at 9:49 pm
     // Make this interesting.
    
     [UIView beginAnimations:nil context:nil];
     [UIView setAnimationDuration:2.0];
     [UIView setAnimationTransition:UIViewAnimationTransitionNone forView:self.view cache:YES];
     [UIView setAnimationDelegate:self]; 
     [UIView setAnimationDidStopSelector:@selector(startupAnimationDone:finished:context:)];
     self.view.alpha = 0.0;
     self.view.frame = CGRectMake(self.view.center.x,self.view.center.y , 0, 0);
     [UIView commitAnimations];
    }
    

    I hope this is a framework for a better animation. It’s not guaranteed to work, but it’s the best I could think of for the first part of the transition.

    This will change the frame of your view controller’s view so that it “sucks” itself into the center of the screen, which is a natural black color. Now that I think about it, a CGAffineTransform would have been much easier…

    EDIT (For pedantry’s sake): Starting with iOS 4, you can now use the newer, and much more syntactically clean, animation blocks and a nice transform:

    [UIView animateWithDuration:0.25 delay:0.0 options:0 animations:^{
         //animate the toolbars in from the top and bottom
         [myTopView setFrame:CGRectMake(0, self.view.frame.size.height - 44, self.view.frame.size.width, 44)];
         [myBottomView setFrame:CGRectMake(0, 0, self.view.frame.size.width, 44)];
         //fade to black...
         self.view.alpha = 0.0;
         //and suck inwards.
         self.view.frame = CGRectMake(self.view.center.x,self.view.center.y , 0, 0);
    }
    completion:^{
        //do something to end nicely, or start another animation block.
    }];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a map with jQuery which is split up in many regions,
I have many fan pages that I admin in Facebook and I made a
I have a CSV file. Each line is made up of the same format
I have an ASP.NET hosting plan with a hosting company. I've made many websites
I have made a jQuery toggle for a menu that I had in mind.
I have made an application for IPad in objective C. In this I am
i have made an application having entity framewrok. It is wpf application, now it
I have made a code that read data from flash Nand (without filesystem). fd
I have made a cart and the cart has remove item button, but the
I have made a website using( Asp.net, c# ) and its content in English

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.