MosheBerman/MBCalendarKit

The fresh created calendarView is cut at the very top

Closed this issue · 11 comments

Modally presented ViewController, the only thing is done - in viewDidLoad method added the CalendarView. As you can see (see photo attached) - the top line of numbers is cut. Seems like it is added to the view without respect of TopLayoutGuide... at least I assume so.

screen shot 2017-08-16 at 20 59 06

Yup, this is because MBCalendarKit 4.0.1 doesn't support autolayout properly. You can work around this for now by turning off automaticallyAdjustsContentInsets on your view controller.

Thanks for reporting this. It's also going to be fixed in 5.0.0.

Related issues: #109 #108 #118

@MosheBerman You mentioned that 5.0.0 is around the corner - can you tell a bit more concrete - when it will happen?..

I don't want to commit to a specific day, but I need this for a couple of side projects, so I've been working on this since the end of July. Probably a couple of days tops. Trying to round everything out, and make sure it all works right.

@MosheBerman I meant more months - in August, in September... no strict dates :)

5.0.0 was just released. Cocoapods should be propagating now.

(Please let me know if this can be closed.)

@iChernov Is this still an issue with 5.0.x?

It's been a couple of weekends. 😄 Any luck?

This thing is fixed

Great!