【发布时间】:2020-10-05 04:18:53
【问题描述】:
我想在其中一个屏幕中从屏幕底部隐藏导航栏。我厌倦了用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 上它会在 bar 所在的那个地方显示空白。如何在 IOS 上折叠 tabstrip。我正在为 nativescript 使用角度。我已经完成了 stackoverflow 上提供的一些解决方案,但对我没有用。
【问题讨论】:
-
@FailsalAhmed 您是否尝试将高度明确设置为 0?
标签: ios nativescript nativescript-angular