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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:52:56+00:00 2026-05-22T00:52:56+00:00

How can I transition from one UIViewController (with bottom toolbar) to another one (without

  • 0

How can I transition from one UIViewController (with bottom toolbar) to another one (without toolbar), so that while the animation is in progress, the toolbar moves away with the first view, meaning that the toolbar stays in it’s initial position of the first view?

I’ve seen this behaviour in “Things” app.

Just to be clear, I am not looking for solutions such as hiding/showing the toolbar inside viewDidAppear.

  • 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-22T00:52:56+00:00Added an answer on May 22, 2026 at 12:52 am

    So, this is a solution I wasn’t very happy about, but at the moment it seems as the only one.

    The point is to ignore the built in toolbar property of UINavigationController, create separate UIToolbar and place it inside your view controller.

    // Create your bar items
    UIBarButtonItem *flexibleSpace = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil];
    
    NSArray *toolbarItems = [[NSArray alloc] initWithObjects: flexibleSpace, nil];
    [flexibleSpace release], flexibleSpace = nil;
    
    UIToolbar *customToolbar = [[UIToolbar alloc] init];
    [customToolbar sizeToFit];
    [customToolbar setFrame:CGRectMake(0.0, self.view.frame.size.height - self.navigationController.navigationBar.frame.size.height - customToolbar.frame.size.height, customToolbar.frame.size.width, customToolbar.frame.size.height)];
    [customToolbar setItems:toolbarItems];
    [[self view] addSubview:customToolbar];
    [customToolbar release], customToolbar = nil;
    
    [toolbarItems release], toolbarItems = nil;
    

    This way the toolbar will slide away with it’s view, causing no animation issue such as “white rectangles” or late appearing toolbar when placed in viewDidAppear…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create transition animation within a UIView (not from one UIView to
When I transition from one view controller (let's call it MasterViewController ) to another
I have a CSS3 position transition that makes a dive slide from one side
Can I make the progress bar below by using CSS only, that is, without
I have been getting an error message that I can't resolve. It originates from
I am using the Silverlight VisualStateManager.GoToState method to transition my control from one state
I may be onto the wrong approach to transition one view to another in
I'm making a tool that can do some operations on a transition system and
The code below is from another SO post, and my question is can the
I'm trying to make a push animation from one side using a CATransition .

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.