Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

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];
 
PREVIOUS NEXT
Tagged: #react #native #ios #rtl
ADD COMMENT
Topic
Name
8+7 =