score:0

static navigationOptions = {
  swipeEnabled: false,
}

score:1

ABCNav.navigationOptions = ({ navigation, screenProps }) => {
    if (navigation.state.index != 0) {
        return {
            tabBarVisible: false,
            swipeEnabled: false, //disable swipe inside StackNavigator
        };
    }
    return {
        tabBarVisible: true, 
//enable swipe function for first screen
    };
};

Related Query

More Query from same tag