Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event numbers show on hide dates #1434

Open
iPermanent opened this issue May 10, 2024 · 0 comments
Open

Event numbers show on hide dates #1434

iPermanent opened this issue May 10, 2024 · 0 comments

Comments

@iPermanent
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant