Liam
Liam

Reputation: 12668

UIDatePicker UIDatePickerModeCountDownTimer iPad Graphic Bug

I've just made a new UIView for my UIDatePicker. I was testing it with the default settings and all was ok (UIDatePickerModeDateAndTime) but as soon as I run [[picker picker]]; hell breaks loose..

UIDatePickerModeDateAndTime Mode: UIDatePickerModeDateAndTime

UIDatePickerModeCountDownTimer Mode: UIDatePickerModeCountDownTimer

My debugger console also give 9 errors about not being able to find the mapped image for the following filenames:

the exact error message is Could not find mapped image [IMAGE NAME]

the iPad i'm testing on is an iPad 2 running iOS5, this error can also be replicated on the iPad Simulator on both iOS 4 and 5.

Does anybody know of a walk around to this as the apps deadline is soon and I need this specific mode :/

I also haven't tried to replicate the issue on the iPhone as i know the clocks app doesn't have this issue.

Upvotes: 1

Views: 645

Answers (1)

user467105
user467105

Reputation:

Make sure you are creating the UIDatePicker with a height of 216.

The UIDatePickerModeCountDownTimer mode has a problem with anything less than that height.

Upvotes: 3

Related Questions