Auto Layout Basics - Part 2 (final)
Continuing with this course. It's been useful so far - have picked up good stuff about constraints. Now for the next part! Layout Margins These are shown by the dotted blue lines when you drag an object around the edges of the main screen view. Going to editor and 'show layout rectangles' - this shows all the margins. The margins are there to provide some white space on either side of the content. There's more information - about the layout margin distance, which you can edit on the options. Superview - the red line. Root view - this is the entire view of the View Controller and Safe view - the visible positions of the view. They cannot be blocked views (e.g. like navigation controller). *Extra reading - https://developer.apple.com/documentation/uikit/uiview/positioning_content_within_layout_margins Layout margins provide a visual buffer between a view’s content and any content outside of the view’s bounds. Here is the example from the link for how to ...