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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:30:28+00:00 2026-06-15T17:30:28+00:00

I have a transition from a UIViewController to a UITabBarViewController, the transition is working

  • 0

I have a transition from a UIViewController to a UITabBarViewController, the transition is working perfectly but the time it takes is too fast to appreciate the effect. So I was wondering if there is a way to make this transition animation last longer?

Here is my AppDelegate.m

@implementation AppDelegate

@synthesize window = _window;
@synthesize tabBarController = _tabBarController;
@synthesize LoadingViewController = _LoadingViewController;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{

     self.window.rootViewController = self.LoadingViewController;
    [self.window addSubview:tabBarController.view];
    [NSTimer scheduledTimerWithTimeInterval:2.0 target:self selector:@selector(changeView) userInfo:nil repeats:NO];


    [self.window makeKeyAndVisible];
    return YES;
}

-(void)changeView{

    self.tabBarController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; 



    [self.window.rootViewController presentModalViewController:self.tabBarController animated:YES];
}

This code makes a transition between my two controllers. First goes my ViewController and after 2 seconds goes my TabBarViewController. But as I was saying this animation goes too fast.

  • 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-15T17:30:28+00:00Added an answer on June 15, 2026 at 5:30 pm

    use this code…

    -(void)changeView{
    
      //  self.tabBarController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; 
           CATransition *animation = [CATransition animation];
            [animation setDelegate:self];   
            [animation setType:kCATransitionFade];
            [animation setDuration:0.5];// increase time duration with your requirement
            [animation setTimingFunction:[CAMediaTimingFunction functionWithName:
                                          kCAMediaTimingFunctionEaseInEaseOut]];
            [[self.window layer] addAnimation:animation forKey:@"transitionViewAnimation"];
    
    
       self.window.rootViewController = self.tabBarController;
       [self.window makeKeyAndVisible];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to transition the CornerRadius property of a Border from value 0,0,0,0 to
I have an app that uses a transition file to flip from page to
i have found some ways but they are actually reading frames and applying transition
I have an XSD that's going through a transition from one set of elements
I want to test for transition from one state to another. I have defined
In last few months I have been making a transition from Java to Groovy
I'm a developer making the transition from Linux/Emacs to OSX/Xcode. Does anyone have any
I'm trying to transition from PHP to Rails and was wondering what the best
I have been trying to acclimate to Prolog and Horn clauses, but the transition
I am currently working on an application that is supposed to have a transition

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.