how to reload rootviewcontroller?
parth0072 opened this issue · 1 comments
parth0072 commented
Hey
I am using fapanels in my application it's working fine in my app.
but I implemented the localization in my app for localization we need to reload rootview controller to change the language without close the app.
I tried multiple ways to reload rootview controller but it's not working.
Any idea? please let me know if you have any idea of this??
Thanks :)
fahidattique55 commented
The simplest way to do this is register for an observer in your root class and when you change the localisation in-app then fire a notification and the observer will trigger a function call. You can add your business logic there.