dekatotoro / dekatotoro/SlideMenuControllerSwift

SlidingMenuController is not working in RTL mode(Arabic)

Open
#373 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
3.4k
Forks
742
PR merge metrics
No merged PRs in 30d

Description

I have implemented localization in my app. (English & Arabic)
In English, the menu button should be on the top of left side.
And sliding menu should be displayed from left side.

In Arabic mode, the menu button should be on the top of right side.
And sliding menu should be displayed from right side.

In LTR, it is working well. But RTL mode(Arabic) it doesn't work well.
I have displayed menu button using following code in Arabic mode.
`self.addRightBarButtonWithImage(UIImage(named: "menu")!)`
`self.slideMenuController()?.removeRightGestures()
self.slideMenuController()?.addRightGestures()`
As a result, the menu button is appeared on the top of left side.(should be appeared in left top)

Please let me know if you have good solution.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.