How can I set the textAlignment
of the placeholder in the right and the textAlignment
of the main text in the left in UITextField
in Swift?
1 Answer
Set the UITextField
to natural textAlignment
in Swift. In Interface Builder that's the alignment on the right with the dashes: