iosswiftxcodefscalendar

How to disable user interaction in FSCalender swift?


I am using fscalendar library to show some activity saved in the calendar and I am done with showing activity on the calendar, but I don't want any circle on the current date and I also want to disable user interaction. Is there any way to do so. Anybody has some idea please help me out.


Solution

  • I think you just need to set today and allowsSelection, since selection, as far as I know, is the only other interaction you can have with the calendar other than scrolling.

    calendar.today = nil // makes today appear just like any other date
    calendar.allowsSelection = false