Answers for "rtl support react native"

2

react native ios rtl

// add this line at the top before #import "AppDelegate.h"
#import <React/RCTI18nUtil.h>

//add this line to the didFinishLaunchingWithOptions method before return YES
  [[RCTI18nUtil sharedInstance] allowRTL:YES];
  [[RCTI18nUtil sharedInstance] forceRTL:YES];
Posted by: Guest on August-14-2021
0

rtl support react native

add two below codes to App.js => 
I18nManager.allowRTL(true);
I18nManager.forceRTL(true);
Posted by: Guest on February-13-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language