开发者

Customize UIDatePicker.. how to change the background of each value in the date, hour and minute picker?

开发者 https://www.devze.com 2023-01-28 09:27 出处:网络
I want to indicate working hours in the UIDatePicker. Therefore I need to set a background image under the hours between 8 AM to 5PM as an indication.

I want to indicate working hours in the UIDatePicker. Therefore I need to set a background image under the hours between 8 AM to 5PM as an indication.

I have googled a lot but could not find a solution to this. Is it possible开发者_JS百科 to customize the UIDatePicker to do this?


I'm afraid it isn't. I have never seen an app do that, and the documentation doesn't say anything about it. If I was you, I would use a UITableView with custom UITableViewCells.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号