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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:39:09+00:00 2026-06-09T08:39:09+00:00

This is how I switch from one UIView to another UIView: self.view = MyView;

  • 0

This is how I switch from one UIView to another UIView: self.view = MyView;
How would I fade out a view to my MySecondView?

  • 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-09T08:39:10+00:00Added an answer on June 9, 2026 at 8:39 am

    You can use UIView’s build in transition code to cross dissolve between them.

    [UIView transitionFromView:self.view toView:MySecondView duration:0.25 options:UIViewAnimationOptionTransitionCrossDissolve completion:^(BOOL finished) {
        // What to do when its finished.
    }];
    

    You can also use the regular animation options with something like this. I haven’t tested this code as I’m not in front of Xcode but I use it all the time for labels and things without default animations.

    [UIView animateWithDuration:0.25 animations:^{
        [self.view setAlpha:0.0];
        self.view = mySecondView;
        [self.view setAlpha:1.0];
    }];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is yet one more of those how to switch from running with a
the purpose of this activity/program is to simply switch from this activity to another
I would like to be able to force a context switch from one thread
I wrote a basic two-view application that switches from one view to another every
I have a Jekyll blog, I am trying to switch from this {:lang='bash'} #!/bin/sh
Has anyone met this error? Right now i am trying to do switch from
This code attempts to dynamically switch the class of the StateContainer div from StateOne
I have a switch statement similar to this one: switch (number) { case 1:
How would you do this PHP switch statement? Also note that these are much
Is it possible to switch from a private filesystem to a public one in

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.