开发者

How to change the baseline of an UITextField?

开发者_运维技巧

How would you change the baseline of any text entered in a UITextField?


The precise answer eludes me, but you can set the textField's vertical content alignment like this:

textField.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜