UITextField vertical alignment
myTextField.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
myTextField.contentVerticalAlignment = UIControlContentVerticalAlignmentTop;
myTextField.contentVerticalAlignment = UIControlContentVerticalAlignmentBottom;
myTextField.contentVerticalAlignment = UIControlContentVerticalAlignmentFill;
Is it a private api? I don’t see it in the SDK.
I do see
unsigned int verticallyCenterText:1;
Inside the private section of UITextField.
I believe it’s a public property of a superclass (maybe UIView?).