Currently I am using
I18nManager
for changingLTR to RTL
, But its working only after restarting the app, My code is given below
import {I18nManager} from 'react-native';
import RNRestart from 'react-native-restart';
changeLtrToRtl=()=>{
I18nManager.forceRTL(true);
RNRestart.Restart();
}
Is there some other method for implementing LTR to RTL change without restarting the app?
from React Native App LTR to RTL change without restarting the app
No comments:
Post a Comment