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
I'm not sure how I should set the weekview's constraints:
If I set my weekview to occupy the full screen (center it and size == parent view's size), the top bar (with the day labels) disappears, see screenshot.
If I set the weekview's height to a percentage less than 1 (say 0.9) of the parent's size, than there will be a small gap rendered on top: see screenshot.
Is the top bar's size fixed maybe? How to set it to support different screen sizes?
Cheers
The text was updated successfully, but these errors were encountered:
This is due to the fact that your the default subview of a viewcontroller extends underneath the navigation bar. I would recommend not using the default subview in this case and either attaching the weekView to the viewController directly in the storyboard and using the graphical interface to add constraints (see image).
Or you could do it programatically and add constraints to your weekView, but this is quite tricky to do programmatically, you can find out how to here.
Hi,
I'm not sure how I should set the weekview's constraints:
Is the top bar's size fixed maybe? How to set it to support different screen sizes?
Cheers
The text was updated successfully, but these errors were encountered: