UIDatePicker for a Non-Gregorian calendar

僤鯓⒐⒋嵵緔 提交于 2019-12-10 11:42:53

问题


I am using UIDatePicker in my App, which works fine for a Gregorian calendar. But I want to use a Non-Gregorian calendar with the DatePicker, which I didn't succeed to do it! I need it to do some conversion from Non-Gregorian to Gregorian dates, so it must work the same whatever the iPhone 'Locales' are.

Please can you answer this!

Your help is really appreciated,


回答1:


Did you try setting the UIDatePicker's calendar property to a non-Gregorian calendar?



来源:https://stackoverflow.com/questions/3704736/uidatepicker-for-a-non-gregorian-calendar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!