iOS 7 resize issue of UIDatePicker

In my application I have to resize UIDatePicker (with mode UIDatePickerModeDateAndTime) and add it in custom view it's working very well in iOS 6 but issue occur in iOS 7.

When i resize UIDatePicker in iOS 7 with same code then days name like sunday, monday,.. etc not displaying clearly/fully.

Check following video for more clear picture.

So how can i fixed it in iOS 7?

Answers


Yes @A-Live is right, you can't change the appearance of UIDatePicker. Instead if you want to resize it you should go with a tricky way. You can set it's transform to resize it.

datePicker.transform = CGAffineTransformMakeScale(0.8, 0.8);

It will scale down datePicker width & height.


Need Your Help

Using jQuery to populate a DIV with the content from another DIV in same wrapper

jquery this selector

I been using jQuery for a while, but cant seem to gert my head round this...

In WPF how do I add easing function to my animation from code behind?

wpf animation easing-functions

I am creating doubleAniation in code and I want to add an easing function to it, so how do I do it?