Closed ezmegy closed 6 years ago
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.
Thanks, it did the trick!
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