I have a language toggle in my app and it would be really easy to manage if when the user switches language I could present an activityIndicator and reinitialize all the views of the app with the new language default. Sort of how the iPhone settings manage language changes. Is there an easy way to do this?
Share
Do you have a top level view, something like a UITabBarController or UINavigationController? If so, you could try removing it from it’s superview (which should be your UIWindow) and creating a new one.
For example, in my app delegate I have:
To redo this, you could try, in your app delegate:
Maybe there is a better way, but this would probably be my first approach.