1
私は私のアプリの設定画面のヘッダーに次の構造体を作成したい:反応ネイティブルータフラックスでタブとナビゲーションバーを結合するには?
|<- Settings |
|-----------------|
| Tab 1 | Tab 2 |
|-----------------|
| |
| Active tab |
| content |
| |
| |
私はそれを実行しようとしました:このコードを
<Provider store={store}>
<RouterWithRedux>
<Scene key="root">
<Scene key="landing" component={Landing} title="Landing" initial={true} />
<Scene tabs key="rootTabBar" back wrap={false} title="Settings">
<Scene key="home" component={Home} title="Home" icon={TabIcon} initial />
<Scene key="search" component={Search} title="Search" icon={TabIcon} />
</Scene>
</Scene>
</RouterWithRedux>
</Provider>
が、私は私が期待したものではない取得、on attached screen is wrong tabs names
これは間違いなく正しい答えでなければなりません。ありがとう。 – srlrs20020