如何在 iPhone 中显示日历而不是使用 UIDatePicker?
我正在使用 UIDatePicker 控制器在 iPhone 应用程序中选择日期。现在,我想显示日历视图而不是 UIDatePicker 控制器。我已经在谷歌上搜索到了我的最佳水平。但是,我找不到解决我的问题的确切解决方案。任何人都可以帮助使用 UIDatePicker 的日历视图吗?提前致谢。
I am using UIDatePicker controller to choose the date in iPhone app. Now, i want to show the Calendar View instead of UIDatePicker Controller. I have searched my level best in google. But, i can't find the exact solution for my problem. Can anyone please help to use the Calendar view for UIDatePicker? Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最好的选择是使用以下之一 -
1) https://github.com/guicocoa/calendar
2) http://github.com/devinross/tapkulibrary
3) http://github.com/klazuka/Kal
没有现成的解决方案可以将 UIDatePicker 转换为日历视图
Your best bet is to use one of the following -
1) https://github.com/guicocoa/calendar
2) http://github.com/devinross/tapkulibrary
3) http://github.com/klazuka/Kal
There is no ready made solution which will convert UIDatePicker to calender view
创建一个集合视图并使用此单元格来显示日历。
calenderCell.h
calenderCell.m
Create a collectionview and user this cell to display calender.
calenderCell.h
calenderCell.m