How to reduce date size Picker control on view iPhone

I am working on a Date Picker and am facing a problem with sizing. How to reduce the size to select a date, for example, height.

+5
source share
3 answers

Some of the standard iOS controls, such as the date picker, have very limited customization options. For example, I do not believe that you can change the height. You could develop your own date picker control (if you wanted it to look like a small calendar, for example, you still have to do this). But let's look at some of the benefits of using standard control exactly like this:

  • Work less than write your own
  • iOS, .
  • (, ).
  • , .

.

+9

,

standerd, - , , ( y ).

.

+1

Here is another solution. You can make it smaller by using views on top of it. If this is the view you want to customize, you can copy everything, drop it in Photoshop, redraw it, and then drop the new “customized view” on top of the datePicker. Many developers actually do this with the standard builder. It requires a few more program lines, but you can make it great with some visual effort ... Just a suggestion.

0
source

All Articles