my language is not supported by iOS by default, so unicode is not an option so i am using a embedded true type font on a UITextView
it works for the most part, but my issue is like Arabic, and Hebrew my language is written from right to left. So i need to change the direction of the text (Not Text Alignment).
i did some searches, they all talk about NSLocale and stuff, but can it be changed in code? if i can change it to something like Arabic/Hebrew it would work i guess, but it should be done in code, because i dont want change the language of the phone.
so what really are my options for text input? any help would be appreciated.
Thanks.
You question have really interested me. So in a matter of hour I've came up with solution. It is far from perfect, but you can use it and fix remaining bugs. This is a simple view controller with text view. You can add text typing it or you can set the value using
So here is the code:
ReverseTextVC.h
ReverseTextVC.m
Hope it helps you =)