iPhone UIDatePicker样式 [英] iPhone UIDatePicker style

查看:135
本文介绍了iPhone UIDatePicker样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何方法/技巧来更改uiDatePicker的大小,字体,背景颜色等?甚至backgroundcolor属性也不起作用,并且选择器的默认样式与我的应用程序的设计无关:(

is there any way/trick to change the size, font, background color etc. of a uiDatePicker?? even the backgroundcolor attribute does not work and the default style of the picker is sooo irrelevant with the design of my application :(

推荐答案

也许您可以改用UIPickerView?我见过人们以此来使用图像作为背景.不过,您必须编写所有日期逻辑.

Perhaps you can use a UIPickerView instead? I've seen people use images as backgrounds using this. You'll have to code up all the date logic though.

这篇关于iPhone UIDatePicker样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆