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

Improve Landscape Mode #121

Open
MosheBerman opened this issue Aug 17, 2017 · 0 comments
Open

Improve Landscape Mode #121

MosheBerman opened this issue Aug 17, 2017 · 0 comments

Comments

@MosheBerman
Copy link
Owner

In 5.0.0, auto layout works great for scaling across devices, but we need a better way to handle situations where square calendar cells aren't the most appropriate. Landscape mode, and a custom wrapper view are two such cases.

Right now, using CKCalendarView in landscape mode poses a challenge because of the way the calendar assumes that it's a roughly square-shaped view. Cell are calculated based on the superview's width, and then given a roughly equal height. (The MBCalendarKit 5.0.0 Migration Guide talks about this, too.)

#120 would solve this in a way, because then scrolling (or an alternate week view) is a thing, but it is a lot of work just to get this enhancement as a side benefit. So, this should be considered separately even for the current "classic mode."

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

1 participant