I support both Left-to-Right and Right-to-Left in my application. How can I detect text direction in my UITextView/UITextField?
- I can't use device's locale because user can have multiple keyboards with languages with different read/write directions.
- I suppose UITextInputTraits is also no use because Apple's documentation said that controls only additional keyboard buttons and not the ones with letters.
Any ideas?