使用React Navigation tab navigator https://reactnavigation.org/docs/navigators/tab如何使其中一个选项卡按钮将屏幕作为全屏模式向上推?我看到stack navigator有一个mode=modal
选项.单击TakePhoto
选项卡按钮时,如何使用该模式?点击它当前仍会显示底部的选项卡栏.
const MyApp = TabNavigator({
Home: {
screen: MyHomeScreen,
},
TakePhoto: {
screen: PhotoPickerScreen, // how can I have this screen show up as a full screen modal?
},
});