Open
Description
New Issue Checklist
- Use the latest version of CalendarKit
- I've read the Contribution Guidelines
- I've searched for existing GitHub issues
Issue Description
After to set the property to false
, this sentence only hide the dayHeaderView
view leaving a white space
(The green background is just for reference)
myView.isHeaderViewVisible = false
Result I am trying to achieve
The possible fix that needs a change in the library.
I did a small change on the file DayView
(inside CalendarKit) project removing the else
// Before
override public func layoutSubviews() {
super.layoutSubviews()
if #available(iOS 11, *) {} else {
...
}
}
// After
override public func layoutSubviews() {
super.layoutSubviews()
if #available(iOS 11, *) { // Removing the else case
...
}
}
and the frame is recalculated.
Final Note
To be sure that I'm not doing something wrong in my project I did the same change trying with the CalendarKitDemo project inside this repository and the bug is present.
Activity