Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust size of CalendarView during orientation change #62

Open
gnrsenpai opened this issue Apr 30, 2015 · 2 comments
Open

Adjust size of CalendarView during orientation change #62

gnrsenpai opened this issue Apr 30, 2015 · 2 comments

Comments

@gnrsenpai
Copy link

Hello, i was wondering how to adjust the size of the CalendarView when the user changes orientation. Right now it just maintains its size during this event, so the result is a shrunk down calendar on landscape due to the increase value of the width of its superview.

I'm using auto layout with the calendar view to always occupy the maximum width and height of the content view, it works when the view controller appears either in portrait or landscape (because it's setting the initial calendar frame on the viewDidAppear with commitCalendarViewUpdate()), but i cannot seem to find a way to modify the frame during an orientation change.

Kind regards.

@mozharovsky
Copy link
Member

Hello @gnrsenpai,

This feature will come with the release version (1.1.0). It's in the coming enhancements listed here #28.

Keep watching!

Regards,
Eugene

@coryhymel
Copy link

Has this been fixed yet?? I'm still running into problems when the device orientation changes :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants