Crash on opening month view, if week view is hidden.
I am using JTAppleCalendar in my App. So by default the calendar is in week mode. In my app I am hiding the calendar when the user scrolls up on the tableView. Also, there is an option to open the month view directly when the calendar is hidden. But when I try to open the month directly from the hidden state the app crashes. It seems that when the month view opens directly, 'cellStateFromIndexPath' gets called and it asserts a developer error as it doesn't find the indexPath valid. But, if I open the month view from week view it works fine. Seems like some bug in the calendar. Please help.
are there any logs you can print please? On which line does it crash? Just a bit more information please.
The willDisplayCell method gets called, and after that there is an assertion. Attaching screenshots.