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
how to force reload calendar for new frame? If I rotate iPad and pure change frame of calendar by calendar.frame = newframe; with hidden calendar and unhide I can see incorrect size of elements. I can appear when calendar is not hidden.
Moreover, there is another bug: from time to time vertical spaces between vertical elements suddenly dissapear. I can't catch when but those bugs exist.
The text was updated successfully, but these errors were encountered:
A few hours later I found that the calendar is being updated while calendar.showsPlaceholders = NO; if I pure change frame of calendar by calendar.frame = newframe.
If I set a calendar.showsPlaceholders = YES; it doesn't redraw if I rotate the device. Please, notice somewhere. Because of inside your method - (void)layoutSubviews
Calendar has got this line: BOOL needsAdjustingBoundingRect = self.scope == FSCalendarScopeMonth && !_showsPlaceholders && !self.hasValidateVisibleLayout;
So, the callback [self boundingRectWillChange:NO]; is not fired if calendar.showsPlaceholders = YES.
how to force reload calendar for new frame? If I rotate iPad and pure change frame of calendar by
calendar.frame = newframe;
with hidden calendar and unhide I can see incorrect size of elements. I can appear when calendar is not hidden.Moreover, there is another bug: from time to time vertical spaces between vertical elements suddenly dissapear. I can't catch when but those bugs exist.
The text was updated successfully, but these errors were encountered: