简体   繁体   English

为iOS和Android自定义日历

[英]Customise calendar for both iOS and Android

I need a calendar for my application where I can pick a single date and show unavailable & available dates in the calendar for the event. 我需要为我的应用程序准备一个日历,在这里我可以选择一个日期,并在事件日历中显示不可用和可用的日期。 I'm building android app in Java - Android Studio and IOS App in objective C - Xcode. 我正在用Java构建Android应用-目标C-Xcode中的Android Studio和IOS应用。 I'm looking for an existing built in library for this purpose. 我正在为此目的寻找现有的内置库。 If it is available for both Android and IOS that will be great. 如果同时适用于Android和IOS,那就太好了。 If not, i need a best suggestion to achieve this !! 如果没有,我需要一个最好的建议来实现这一目标!

I have seen few reference links like below: 我看到了如下几个参考链接:

(Android) https://github.com/square/android-times-square (Android) https://github.com/square/android-times-square

(IOS) https://github.com/guicocoa/calendar (IOS) https://github.com/guicocoa/calendar

Please help me in this. 请帮助我。 Thanks in advance. 提前致谢。

Cheers 干杯

The best Pod for iOS is this: https://cocoapods.org/pods/JTAppleCalendar 适用于iOS的最佳Pod是这样的: https//cocoapods.org/pods/JTAppleCalendar

But it's only for iOS. 但这仅适用于iOS。

For ios you can use : https://github.com/WenchaoD/FSCalendar 对于ios,您可以使用: https : //github.com/WenchaoD/FSCalendar

This is fully customizable iOS calendar library, compatible with Objective-C and Swift 这是完全可自定义的iOS日历库,与Objective-C和Swift兼容

i have used this in mine live projects it works great. 我已经在我的直播项目中使用了它,效果很好。

https://github.com/CVCalendar/CVCalendar https://github.com/CVCalendar/CVCalendar

or you can also use some reference from here https://cocoapods.org/?q=calenda 或者您也可以从这里使用一些参考https://cocoapods.org/?q=calenda

best references are from here https://www.cocoacontrols.com/search?utf8=%E2%9C%93&q=calendar 最佳参考来自此处https://www.cocoacontrols.com/search?utf8=%E2%9C%93&q=calendar

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM