iphone:自定义日历接机日期
我的客户希望用户可以在 iPhone 应用程序中选择日期。
他希望该月的所有日子都出现。此外,他想切换到下个月或上个月。怎么可能做到这一点?
此外,他希望在日历中该月的某些日子(例如 1 日、9 日和 15 日)以不同的颜色显示。
如果可以的话,这怎么办?
预先感谢您的帮助
法比奥
My client would like that the user could pick up a date in an iphone app.
He wants that all the days of the month appear. Moreover he would like to switch to the next or previous month. How would it possible to do that ?
Moreover he would like that in the calendar some days of the month (for ex. the 1rst, the 9th and the 15th) appear in a different color.
If it's possible, how could this be done ?
Thank you in advance for your help
Fabio
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前,3.x iPhone SDK 中没有公开日历对象。
不过,您可以实现自己的。一种方法是实现您自己的 UIView 对象并手动处理绘画和触摸反应。另一种方法是将日历实现为 HTML 页面,并创建完整的 Web 应用程序或嵌入 UIWebView。
http://dblog .com.au/iphone-development/iphone-sdk-tutorial-build-your-very-own-web-browser/
Currently there isn't a calendar object exposed in the 3.x iPhone SDK.
You can however implement your own. One way would be to implement your own UIView object and handle the painting and reaction to touching manually. Another way would be to implement a calendar as an HTML page and either create a full web application or embed a UIWebView.
http://dblog.com.au/iphone-development/iphone-sdk-tutorial-build-your-very-own-web-browser/