Hello the placeholder text, and the text the user inputs, starts in the middle of my textfield. I have the textfield as 30% of the screen height, so I can't simply make the textfield smaller. How do I make the text start in the top left corner?
What you want to do is both a horizontal
and vertical
alignment like this:
textField.textAlignment = .left
textField.contentVerticalAlignment = .top
Result:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With