How to use Tapku library for iPhone?

后端 未结 2 1131
盖世英雄少女心
盖世英雄少女心 2021-01-13 16:47

I just found the Tapku library and would love to use the calendar, but am clueless as to where to start since I am new to iPhone dev. How do I go about presenting the calend

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-13 17:30

    TKCalendarMonthView *calendar1=[[TKCalendarMonthView alloc] init];
    calendar1.delegate = self;
    calendar1.dataSource = self;
    [calendar1 selectDate:[NSDate date]];
    [self.view addSubview:calendar1];
    

    Add this in the .m file where you want to display.

提交回复
热议问题