Remove “unrecognized selector” issue in use don’t implement “-calendar:boundingRectWillChange:animated:”.

This commit is contained in:
WenchaoD 2017-03-09 15:55:38 +08:00
parent 38c46b1408
commit c4a828a2a0
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@
self.calendar.bottomBorder.fs_top = CGRectGetMaxY(targetBounds);
self.calendar.contentView.fs_height = CGRectGetHeight(targetBounds)-self.calendar.scopeHandle.fs_height;
self.calendar.daysContainer.fs_height = CGRectGetHeight(targetBounds)-self.calendar.preferredHeaderHeight-self.calendar.preferredWeekdayHeight-self.calendar.scopeHandle.fs_height;
[self.calendar.delegate calendar:self.calendar boundingRectWillChange:targetBounds animated:YES];
[[self.calendar valueForKey:@"delegateProxy"] calendar:self.calendar boundingRectWillChange:targetBounds animated:animated];
}
- (void)performForwardTransition:(FSCalendarTransition)transition fromProgress:(CGFloat)progress