I am working on an application that has a button to switch between English and Arabic and should be on the fly. I use the method at https://github.com/maximbilan/ios_language_manager , and it works fine in all cases, except when the storyboard is localized on the interface without strings:

Now, when I reboot the root view controller as follows:
func reloadRootVC(){ let delegate : AppDelegate = UIApplication.sharedApplication().delegate as! AppDelegate let storyboard = UIStoryboard(name: "Main", bundle: NSBundle.mainBundle()) delegate.window?.rootViewController = (storyboard.instantiateInitialViewController()) }
it reloads the root with localized strings and RTL, but with English storyboard, not Arabic.
I tried an Arab-type power load as follows:
let storyboard = UIStoryboard(name: "Main", bundle: NSBundle(path: NSBundle.mainBundle().pathForResource(LanguageManager.currentLanguageCode(), ofType: "lproj")!))
but unfortunately, it loads the storyboard, but without images. He cannot read the image of the resource.
source share