0
A
回答
2
當選擇日期時,將調用JTAppleCalender視圖的委託方法didSelectDate
。
所以,你可以處理你的日期選擇這個方法裏面一樣,
func calendar(_ calendar: JTAppleCalendarView, didSelectDate date: Date, cell: JTAppleCell?, cellState: CellState) {
if date == currentDate || date == previousDate {
//do your logic here
}
else {
return
}
}
+0
如何刪除3個月限制? –
+0
另外我想禁用未來的日期。 –
+0
@AshuDesigner在JTAppleCalendarViewDelegate的'configureCalendar'函數中,您可以設置'ConfigurationParameters',您可以在其中配置開始日期和結束日期 –
相關問題
- 1. 在HTML頁面上實現Framework7日曆
- 2. 實現iCal日曆JSF
- 3. 易於實現日曆
- 4. 無法實現Aeron日曆
- 5. Windows上的Apple Swift實現
- 6. 如何實現iphone日曆日視圖
- 7. .net中實現的最佳日曆控件,用於實現從樹視圖拖放到日曆上
- 8. 實現虛構的日曆格式
- 9. 實現一個簡單的日曆
- 10. YUI日曆,我怎樣才能實現它像jQuery UI日曆?
- 11. 在自定義日曆中實現ViewPager
- 12. Extjs 4日曆如何實現
- 13. 嘗試使用Google日曆實現2.2.2
- 14. 如何在Python中實現日曆?
- 15. 如何在CrossPlatForm中實現日曆(Xamarin)
- 16. iPhone上的Google日曆實施?
- 17. 如何實現Android日曆應用程序的日視圖?
- 18. 如何實現月份+周+日視圖的日曆
- 19. 在UITableViewCell上實現複選框 - Swift
- 20. 在Swift 1.1上對NSURL實現StringLiteralConvertible
- 21. CoreData實現swift 3
- 22. 用Swift實現UITextFieldDelegate
- 23. 實現歷史表
- 24. Swift 4中的NSAccessibilityRadioButton實現
- 25. Swift 2.0創建日曆拋出
- 26. 在Swift中使用谷歌日曆API
- 27. 在SWIFT中解析Google日曆JSON
- 28. 從Swift應用打開日曆
- 29. Swift Google日曆帳戶登出
- 30. Swift 3.0 - 日曆startOfDay方法返回3am
檢查maximumdate當您選擇日曆 –
日期您正在使用的日曆庫? –
CalendarPopUp - JTAppleCalendar庫 –