WenchaoD / FSCalendar

A fully customizable iOS calendar library, compatible with Objective-C and Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FSCalendar ishidden not working properly

vincenzoflaminio2 opened this issue · comments

Hi,
I'm using FSCalendar 2.8.2 and Xcode 12.5.1 on a simulator iPhone iOS 14.5.
I need to hide the calendar and then show it when the user touch a button.

self.startCalendar.isHidden.toggle()

It works perfectly if at the begin the FSCalendar view is not hidden, first click it will disappear and then click again it will show correctly the Calendar.
Otherwise if in the begin so in viewDiDLoad I set the CalendarView.ishidden = true than on the click on the button the calendar will appear again but is missing the days.

Schermata 2021-09-17 alle 12 00 57

Schermata 2021-09-17 alle 12 01 55

I don't change anything about the appearance of the calendar just set to hidden true the view:
@IBOutlet weak var startCalendar: FSCalendar!

Same here.
Any one resolve this before ?