UINavigationController disable Language direction in swipe to go back

Viewed 395

When the application language is Arabic, (interactivePopGestureRecognizer) works from right to left so the user has to swipe from right edge to pop viewController.I wanna to force interactivePopGestureRecognizer to swipe from left to right (user has to swipe from left edge) despite the app language because I wanna to fix the back button at left side at both English and Arabic languages. I have used [[UIView appearance] setSemanticContentAttribute:UISemanticContentAttributeForceLeftToRight] ; but this has fixed half of the problem as it made the interactivePopGestureRecognizer in Arabic language swipes from left to right but the user still swipe from right edge.Any suggestion???

0 Answers
Related