hidesBottomBarWhenPushed weird animation behaviour when push


I have a tab based application,Which contains no tab bar.

For hiding tab bar i am using hidesBottomBarWhenPushed method in storyboard.

but using this my view have strength animation like : <a href="https://drive.google.com/file/d/14H3Lym0bat4kaYP5rSlFqkJp8QF1xdZm/view" rel="nofollow">https://drive.google.com/file/d/14H3Lym0bat4kaYP5rSlFqkJp8QF1xdZm/view</a>

The tab bar is visible for some time and then it goes down.

For the solution i have put the following code :


self.tabBarController.tabBar.hidden = YES;


in Viewwillappear but did not work. also i have tried to hide it programatically before push but no luck

<a href="https://i.stack.imgur.com/G4q0B.png" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/G4q0B.png" data-original="https://i.stack.imgur.com/G4q0B.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

Here is my screen which is creating issue. I have removed all the code for hiding the tab bar, Now only hidesBottomBarWhenPushed set from storyboard. But still getting same issue.

I have hide the Bottom bar for checking is it related to layouts, but still my whole view goes up to down for the fraction of second.

Finally I have tried :

let chatRoom = ChatDetailViewController.viewController() chatRoom.hidesBottomBarWhenPushed = true self.navigationController?.pushViewController(chatRoom, animated: true)

But Same result.

Here is the screenshot of animation which is happening during push:

<a href="https://i.stack.imgur.com/elUQl.png" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/elUQl.png" data-original="https://i.stack.imgur.com/elUQl.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>


viewcontroller.hidesBottomBarWhenPushed = true

Use hidesBottomBarWhenPushed property as true when push viewcontroller.


viewcontroller is object of UIViewController which are going to push into navigation stack.



  • generate a vector [closed]
  • Cut off UITableViewController when embedded into a Container in a UIViewController
  • jquery not working inside if after AJAX success/failure
  • jQuery form validation issue, other box when visible
  • jquery validation missing } after property list
  • Disable div click on Ajax start and re-enable it on Ajax complete
  • How to stop onclick from firing before ondblclick in JS/HTML
  • Unable to hide youtube iframes in safari?
  • changes in jquery 1.4.2 breaking the code?
  • Is it better to use the “hidden” CSS attribute or fetch each set of new images?
  • to implement a spinner in angular2+
  • jquery code not working without breakpoint
  • How to getText() from the input field of an angularjs Application
  • Suppressing passwd when calling sqlplus from shell script
  • Tamper-proof configuration files in .NET?
  • CakePHP 2.0.4 - findBy magic methods with conditions
  • JQuery Internet Explorer and ajaxstop
  • Android full screen on only one activity?
  • Change Inet root folder for iis 7
  • Java: can you cast Class into a specific interface?
  • Get one-time binding to work for ng-if
  • Fetching methods from BroadcastReceiver to update UI
  • AES padding and writing the ciphertext to a disk file
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Excel - Autoshape get it's name from cell (value)
  • Updating server-side rendering client-side
  • Check if a string to interpolate provides expected placeholders
  • Does CUDA 5 support STL or THRUST inside the device code?
  • How to extract text from Word files using C#?
  • RestKit - RKRequestDelegate does not exist
  • Traverse Array and Display in markup
  • Comma separated Values
  • Benchmarking RAM performance - UWP and C#
  • Acquiring multiple attributes from .xml file in c#
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • How can I remove ASP.NET Designer.cs files?
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • java string with new operator and a literal
  • How to load view controller without button in storyboard?