开发者

How to change Font of UIDatePicker?

I have used UIDatePicker in my app. I wa开发者_JAVA技巧nt to (actually have to) change the font size (as my app needs) and font family in that datepicker.

Please help, if any body has done that before...

Thanks in advance...


See: iPhone UIDatePicker style

Based on that link, it doesn't look good...

You are most likely going to have to create a custom picker.


I don't advocate doing this, but if you really need to resize the font, just resize the entire UIDatePicker.

datePicker.transform = .init(scaleX: 0.8, y: 0.8)
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜