Hide Tab Buttons in NativeScript TabView

后端 未结 3 692
我寻月下人不归
我寻月下人不归 2021-01-15 17:29

I\'m using Nativescript with Typescript/Angular and, for both iOS and Android, I\'d like to hide the navigation tab buttons completely without losing the swipe functionality

3条回答
  •  囚心锁ツ
    2021-01-15 18:06

    The best way todo this is to do it programatically. Take alook at this issue here at https://github.com/NativeScript/nativescript-angular/issues/621.

    Simply create tabs programmatically and then you can control them. You can't remove tabs from hierarchy once they are added to the tree from the UI.

提交回复
热议问题