You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func calendar(_ calendar: FSCalendar, numberOfEventsFor date: Date) -> Int {
return 1
}
when I implement this function, even if the day is not show on the calendar(month scope and the previous or next month date), I can judge the date by the code below:
if date.month() != calendar.currentPage.month() {
return 0
}
but this is still strange
The text was updated successfully, but these errors were encountered:
func calendar(_ calendar: FSCalendar, numberOfEventsFor date: Date) -> Int {
return 1
}
when I implement this function, even if the day is not show on the calendar(month scope and the previous or next month date), I can judge the date by the code below:
if date.month() != calendar.currentPage.month() {
return 0
}
but this is still strange
The text was updated successfully, but these errors were encountered: