开发者

Issue with UIDatePicker

开发者 https://www.devze.com 2023-01-19 13:46 出处:网络
I want to show only day and month and not year in my date picker. Not s开发者_如何学Cure how to achieve this. Please suggest.you\'ll find the answer by Googling this and clicking on the first entry wh

I want to show only day and month and not year in my date picker. Not s开发者_如何学Cure how to achieve this. Please suggest.


you'll find the answer by Googling this and clicking on the first entry which happens to be from Stackoverflow also: UIDatePicker show only month and day

Hope it helps!


I solved this by setting the maximumDate property to current date. This disabled the dates from current date.

0

精彩评论

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