ios - Wrong swipe direction in navigation in Right to Left -
i disable views rotation (process when hebrew language selected , views change positions left right) when phone has righttoleft localization:
if (system_version_greater_than_or_equal_to(@"9.0")){ if (righttoleft) { [[uiview appearance] setsemanticcontentattribute:uisemanticcontentattributeforcelefttoright]; [[uinavigationbar appearance] setsemanticcontentattribute:uisemanticcontentattributeforcelefttoright]; } }
everything looks fine, need swipe right-to-left return in previous view controller. how can set left right swipe direction navigation between viewcontrollers?
Comments
Post a Comment