Customize Date Picker: How to change width & height of datepicker in 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.
Or you can create your own picker ;)
I created this component that allows you to do this really easily: http://dev.doukasd.com/2011/04/infinite-scrolling-dial-control-for-ios/
精彩评论