KMPlaceholderTextView icon indicating copy to clipboard operation
KMPlaceholderTextView copied to clipboard

Arabic and Persian Chars

Open imehrshad95 opened this issue 6 years ago • 2 comments

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

imehrshad95 avatar May 11 '18 14:05 imehrshad95

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

maneesh888 avatar Jul 30 '19 14:07 maneesh888

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

}

Goldy-74 avatar Apr 23 '20 12:04 Goldy-74