How can i get writing language of uitextview? or how can i know uitextview is right to left or left to right in current state?
This solution worked better for me
[NSLocale characterDirectionForLanguage:self.textView.textInputMode.primaryLanguage] == NSLocaleLanguageDirectionRightToLeft