When user login, I am getting its language code from server.
Then I try to force to set this language as follow:
let defaults = NSUserDefaults.standardUserDefaults()
defaults.setObject(["de"], forKey: "AppleLanguages")
defaults.synchronize()
But this change will not reflect immediately.
If I restart the app then it works fine
I also tried to reload root view but still not working
How can I see change immediately?
Thanks for your time :)