Ios Nativescript如何隐藏屏幕底部的tabstrip栏

Ios Nativescript如何隐藏屏幕底部的tabstrip栏,ios,nativescript,nativescript-angular,Ios,Nativescript,Nativescript Angular,我想在其中一个屏幕中隐藏屏幕底部的导航栏。我厌倦了用css来设置它 visibility:collapse; 并且在程序上 let tab: TabStrip = this.page.getViewById("btm-tab"); tab.visibility = Visibility.collapse; //and tried this as well //tab.viewController.tabBar.hidden = true; 但它可以

我想在其中一个屏幕中隐藏屏幕底部的导航栏。我厌倦了用css来设置它

visibility:collapse;
并且在程序上

 let tab: TabStrip = this.page.getViewById("btm-tab");
        tab.visibility = Visibility.collapse;
 //and tried this as well 
 //tab.viewController.tabBar.hidden = true;
但它可以在android上运行,但在IOS上,它会在酒吧所在的地方显示空白。如何在IOS上折叠tabstrip。我正在为nativescript使用angular。我已经研究了stackoverflow上提供的一些解决方案,但它对我不起作用


我认为问题不是“崩溃”,正确的路线应该是

visibility: collapsed;

测试并稍后告诉我:)

@FailsalAhmed您是否尝试将高度显式设置为0?