早上好(下午,晚上) 我在我的应用程序中使用TKCalendarMonthView和TKCalendarDayTimelineView 第一个问题没有任何问题(我使用了http://developinginthedark.com/posts/iphone-tapku-calendar-markers) 我有TKCalendarDayTimelineView的问题。互联网上没有例子。
我初始化TKCalendarDayTimelineView
(.h):
#import "TKCalendarMonthView.h"
#import "TKCalendarDayTimelineView.h"
@interface BDThirdViewController : UIViewController <TKCalendarMonthViewDelegate, TKCalendarMonthViewDataSource, TKCalendarDayTimelineViewDelegate> {
TKCalendarMonthView *calendarMonth;
TKCalendarDayTimelineView *calendarDay;
.......
}
(.m):
calendarDay = [[TKCalendarDayTimelineView alloc] init];
calendarDay.delegate = self;
calendarDay.frame = CGRectMake(0, 0, 320, 300);
并得到: (图片)http://index01d.com/ci2m/w85xvg
您有使用TKCalendarDayTimelineView的任何示例吗?请帮助我,我是ios开发的新手。
提前致谢