I have a UIDatePicker
in count down timer mode . UIDatePicker
by default is not supporting auto resizing. So I manually set the frame to resize for the landscape orientation
- (void) resizeDatePicker: (UIInterfaceOrientation)orientation
{
if (UIInterfaceOrientationIsPortrait(orientation))
{
self.timePicker.frame = CGRectMake(0, 44, 320, 216);
}
else
{
self.timePicker.frame = CGRectMake(0, 44, 480, 162);
}
}
Its works in all other modes except for count down timer. In count down mode it's not appearing clearly.