Example 3 There are a few steps to implement on the below layout in IB which makes one of the reasons why performing autolayout in IB a pain.. First I explain to you how you can create constraints in Storyboard and programmatically with snapKit.. Now repeat the same steps for the remaining 3 subviews but make sure to constrain the views in the appropriate quadrant.. In 5 lines of code you have just created the subview constrained to the top left and make it a quadrant. When you add constraints programmatically then you need to create lots of code for single auto layout constraints.
Read more