In fact, you should get the application language, let's say you have the Helper class and the static method to get the application language.
Helper.m
+(void)getApplicationLanguage{
}
ViewController.m
-(IBAction)menuButtonClicked:(id)sender{
if ([[Helper getApplicationLanguage] isEqualToString:@"Arabic"]){
}else{
}
}
,
, .
UPDATE:
1. segue "sw_right".
2. SWRevealViewController
loadStoryboard mehtod
-// @try
-// {
-// [self performSegueWithIdentifier:SWSegueRightIdentifier sender:nil];
-// }
-// @catch(NSException *exception) {}
NSString * identifier = self.identifier;
if (![identifier isEqualToString:SWSegueFrontIdentifier]) {
if ([[H getApplicationLanguage]isEqualToString:ARABIC_LANGUAGE]) {
identifier = @"sw_right";
}else{
identifier = @"sw_rear";
}
}