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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: