首页 文章

如何从反应原生的屏幕中删除顶部选项卡?

提问于
浏览
0

我正在使用wix反应原生导航,我可以使用导航到屏幕

Navigation.events().registerAppLaunchedListener(() => {
Navigation.setRoot({
root: {
stack: {
  children: [{
    component: {
      name: 'myproject.AuthScreen',
      passProps: {
        text: 'stack with one child'
      }
    }
  }],
  options: {
    topBar: {
      title: {
        text: 'Welcome screen'
      }
    }
  }
}
}
})
});

但是如何从该屏幕中删除顶部选项卡

1 回答

  • 0

    在选项中尝试这个:

    topBar: {
       visible: false,
       drawBehind: true,
       animate: false,
    },
    

相关问题