Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arabic and Persian Chars #45

Open
imehrshad95 opened this issue May 11, 2018 · 2 comments
Open

Arabic and Persian Chars #45

imehrshad95 opened this issue May 11, 2018 · 2 comments

Comments

@imehrshad95
Copy link

Why doesn't support Arabic and Persian chars???

@maneesh888
Copy link

I am facing the same issue, I could not find anything wrong in the code, but for some reason the placeholderLabel is not visible in arabic mode

@Goldy-74
Copy link

I have updated this method and it is working fine with me, i hope it helps someone

private func updateConstraintsForPlaceholderLabel() {
    placeholderLabel.leftAnchor.constraint(equalTo: self.leftAnchor, constant: textContainer.lineFragmentPadding).isActive = true
    placeholderLabel.topAnchor.constraint(equalTo: self.topAnchor, constant: textContainer.lineFragmentPadding).isActive = true
    placeholderLabel.rightAnchor.constraint(equalTo: self.rightAnchor).isActive = true

}

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

No branches or pull requests

3 participants