Language-Manager-iOS
Language-Manager-iOS copied to clipboard
UITextField placeholder not fine in uitextField
![screen shot 2016-04-11 at 7 35 12 pm](https://cloud.githubusercontent.com/assets/7058465/14430922/cf2f36f8-001c-11e6-8376-4e5c1b89cb69.png)
Can you please help me resolve it?
I tried [[UITextField appearance]setSemanticContentAttribute:UISemanticContentAttributeForceRightToLeft]; when changing langauge to Arabic, but it didn't work.
This happens when I change language and reload the root view again as you have done in your code. and go into other views to check the effect. And they seem ruined. But when I restart the app, the same views look fine for the last selected language.
u can fix it but text Alignment
textfield.textAlignment =NSTextAlignmentRight;
It should automatically do it, because my project has so many of these kinda forms. Putting a langauge check is for each field is not a good practice.
I am also facing same issue
You can use this
[[UITextField appearance]setSemanticContentAttribute:UISemanticContentAttributeForceRightToLeft];
[[UITextField appearance] setTextAlignment:NSTextAlignmentRight];