I am going to need to show the UISearchBar in different alignments because of different input languages.
I saw this answer, but I can't find where is it that you actually align the text to the right on a UISearchBar
.
Any ideas?
Thanks!
I am going to need to show the UISearchBar in different alignments because of different input languages.
I saw this answer, but I can't find where is it that you actually align the text to the right on a UISearchBar
.
Any ideas?
Thanks!
Here is the solution
To set attributed placeholder text to achieve left aligned placeholder, try this code...
This is what I've done:
If you also want to move the magnifying glass icon, you can do this:
But you will have to provide the search_icon.png image.