如何在iPhone上使用Tapku库? [英] How to use Tapku library for iPhone?

查看:108
本文介绍了如何在iPhone上使用Tapku库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚找到了Tapku库,并且很想使用日历,但是因为我是iPhone开发人员的新手,所以从哪里开始是无能为力的。如何在我的一个视图中展示日历?

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 calendar in one of my views?

推荐答案

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

将此项添加到要显示的.m文件中。

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

这篇关于如何在iPhone上使用Tapku库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆