Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 17286

React Native App LTR to RTL change without restarting the app

$
0
0

Currently I am using I18nManager for changing LTR 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?


Viewing all articles
Browse latest Browse all 17286

Trending Articles