dekatotoro / SlideMenuControllerSwift

iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift.
MIT License
3.4k stars 754 forks source link

Support for RTL #308

Open pooja816 opened 7 years ago

pooja816 commented 7 years ago

Hi I have an app having support for English & Arabic. When I choose Arabic, the view is updating the direction but when click on the hamburger button, the view appears from left.

ktinguer commented 7 years ago

I have the same issu, any solution please

nadagamal commented 7 years ago

You should change the app root view controller and setting side menu at right instead of left side

embassem commented 7 years ago

if (Localize.currentLanguage() == "ar") { slideMenuController = SlideMenuController(mainViewController: homeViewController!, rightMenuViewController: userSideMenu); }else { slideMenuController = SlideMenuController(mainViewController: homeViewController!, leftMenuViewController: userSideMenu); }