Skip to content

UITabBarController: isTabBarHidden property ​

The isTabBarHidden property determines whether the tab bar is hidden.

Value ​

A boolean.

ValueEffect
trueThe tab bar is hidden
falseIt is shown
  • Readable and writable.
  • Defaults to false.
  • Writing it is not animated; the tab bar disappears or appears immediately. For animation, use setTabBarHidden().
  • No event fires when it changes: only code changes it.

Examples ​

js
const tabs = new UITabBarController();
tabs.isTabBarHidden = true;
console.log(tabs.isTabBarHidden);

Effect: the tab bar disappears immediately. The console logs true.

Corresponding iOS API ​

UITabBarController.tabBarHidden. In JS it is called isTabBarHidden.

See also ​