アプリに Tapku カレンダーを追加しようとしています。ストーリーボードを使用しています。Tapku ライブラリを追加し、必要なファイルをインポートして、TKCalendarMonthViewDelegate メソッドを追加しました。calendarViewというUIViewにカレンダーを追加しています。アプリを実行すると、カレンダーは表示されず、何も入っていないビューだけが表示されます。
-(void)viewDidLoad
{
[super viewDidLoad];
[self.navigationController setNavigationBarHidden:NO animated:YES];
self.navigationItem.hidesBackButton = YES;
calendar = [[TKCalendarMonthView alloc] init];
calendar.delegate = self;
calendar.dataSource = self;
calendar.frame = CGRectMake(0, 0, calendar.frame.size.width, calendar.frame.size.height);
// Ensure this is the last "addSubview" because the calendar must be the top most view layer
[self.view addSubview:calendar];
[calendar reload];
// Do any additional setup after loading the view.
}
誰でも私を助けてもらえますか?