MoathOthman / MOLH

Localization helper for iOS apps mainly focusing on the LTR/RTL issue
MIT License
117 stars 36 forks source link

RTL and LTR is not working with TabbarController. #4

Closed ektapadaliya closed 6 years ago

ektapadaliya commented 6 years ago

Hey moath

Thanks for your awesome library :)

My Project have slide menu and tabbar controller. So My app rootviewcontroller is slide menu and that side menu have center and left view controller.

So when I am trying to change language from app then side menu left and center viewcontroller's alignment is not working. All other viewcontroller's alignment is working fine.

When I relaunch app then left and center viewcontroller's alignment is working fine. but its not working when I call reset function from app.

I thinks that view's are not updating.

Please help me.

Thanks, Ekta

MoathOthman commented 6 years ago

Hey Ekta, maybe your not restarting the views correctly , try using these lines when u reset the views window?.rootViewController?.dismiss(animated:false) window?.rootViewController = "your first view"

Best of luck