UITextField placeholder not fine in uitextField
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];