开发者

use calendar as date picker

开发者 https://www.devze.com 2023-01-16 04:02 出处:网络
I\'d like to popup a calendar control (like the month view from the calendar provided by Apple), which can be used as date picker. I\'ve already made some research, but I\'m asking if I missed somethi

I'd like to popup a calendar control (like the month view from the calendar provided by Apple), which can be used as date picker. I've already made some research, but I'm asking if I missed something out.

There are several free available libraries:

    * Kal
    * GCCalendar
    * TapkuLibrary
    * iphonecal
    * iphone-gcal

Also there is one commercial library:

    * DTCalendarViewController

Also important is internationalization. Do you know another library which can offer开发者_StackOverflow社区 that? Or how to adapt the free available libraries to use the calendar month view as a date picker?


I have used the TapkuLibrary successfully for this. The only problem is that it only shows five weeks maximum per month so every now and then a month cannot be entirely shown. (For example last month (January 2011) and July 2011 coming up both needed to display 6 rows. You will have to modify the code to fix this problem.


You can refer iOs library for this.in library already has sample code for it. otherwise you can find code in google code.

0

精彩评论

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