自定义日期选择器:如何在iphone中更改日期选择器的宽度和高度?(Customize Date Picker: How to change width & height of datepicker

编程入门 行业动态 更新时间:2024-10-20 07:55:33
自定义日期选择器:如何在iphone中更改日期选择器的宽度和高度?(Customize Date Picker: How to change width & height of datepicker in iphone?)

有没有办法自定义iPhone中使用的日期选择器?

我想改变它的高度和宽度。 我们可以改变它的背景颜色,字体颜色吗?

如果有人以前做过请帮助。

提前致谢 ...

Is there any way to customize the datepicker used in iphone?

I want to change height & width of it. Can we change the background color, font color of it?

Please help if anybody has done before.

Thanks in advance ...

最满意答案

尺寸无法改变。 还有其他一些与此有关的问题以及几种伪造方法,将其部分移出屏幕或将其他视图放在前面部分遮挡部分或添加背景图像以使其看起来更大。 最好的方法是按原样使用它或编写自定义选择器。

The size cannot be changed. There are other questions concerning this and several ways to fake it, moving it partially offscreen or putting other views in front partially obscuring portions or adding background images to make it look larger. The best approach is to use it as-is or write a custom picker.

更多推荐

本文发布于:2023-04-28 01:50:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1329773.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:日期   选择器   自定义   宽度   高度

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!