Skip to content

Fixed rightToLeft languages's problem#108

Open
sonmezvolkan wants to merge 2 commits into
roberthein:masterfrom
sonmezvolkan:feature/support_right_to_left_language
Open

Fixed rightToLeft languages's problem#108
sonmezvolkan wants to merge 2 commits into
roberthein:masterfrom
sonmezvolkan:feature/support_right_to_left_language

Conversation

@sonmezvolkan
Copy link
Copy Markdown

@sonmezvolkan sonmezvolkan commented May 16, 2023

Hi

LeftAnchor and rightAnchor have been using in edgesToSuperView, i replaced them with leading and trailing.

If you use leftAnchor that means this view will not move to right for the rightToLeftLanguages.

https://www.hackingwithswift.com/example-code/uikit/whats-the-difference-between-leading-trailing-left-and-right-anchors

Related to #95

Here some screen shots

LeftToRight

RightToLeft

@paulocoutinhox
Copy link
Copy Markdown

merge merge merge +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants