I am working on Date Picker and facing a problem of customizing the size .How to reduce the size for date picker for example height.
The size of the date picker can easily be changed manually. If you go over to Main. storyboard and simply click on the Date Picker, its size can easily be adjusted.
A picker displays one or more scrollable lists of distinct values that people can choose from. The system provides several styles of pickers, each of which offers different types of selectable values and has a different appearance. The exact values shown in a picker, and their order, depend on the device language.
Some of the iOS standard controls, like the date picker, have very limited customization options available. I do not believe, for example, that you can change the height. You could develop your own date picker control (if you wanted it to look like a little calendar, for example, you would have to do that anyway). But consider some of the advantages of using the standard control exactly as it is:
And so on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With