如何在将应用程序语言更改为阿拉伯语时显示阿拉伯语键盘?

我有一个支持阿拉伯语和英语的移动应用程序。 所以对于这个我使用两个独立的故事板,从右向左翻转布局,同时改变语言(不确定是否使用两个单独的故事情景板阿拉伯语和马拉雅拉姆语的好想法,请build议任何其他更好的解决scheme)。

但是,不是这样的情况下,我希望向用户提供阿拉伯语键盘,而将应用程序语言更改为阿拉伯语填写registry单。 如何在Swift 3中实现这一点?

- (void)reloadStoryboard { UIStoryboard *storyboard; switch ([AALanguageManager getCurrentLanguage]) { case CurrentLanguageRTL: storyboard = [UIStoryboard storyboardWithName:@"StoryboardRTL" bundle:[NSBundle mainBundle]]; break; default: storyboard = [UIStoryboard storyboardWithName:@"StoryboardLTR" bundle:[NSBundle mainBundle]]; break; } self.window.rootViewController = [storyboard instantiateInitialViewController]; [self.window makeKeyAndVisible]; }