Comment verrouiller l'orientation pour un écran particulier dans iOS dans React Native

import Orientation from 'react-native-orientation-locker';

useEffect(()=>{
   Orientation.lockToPortrait(); //this will lock the view to Portrait
   Orientation.lockToLandscape(); //this will lock the view to Landscape
})
SAMER SAEID