So, working on a personal project of mine, after frustrating with Auto-layout constraints, I discovered Stack Views. After watching several tutorials and guides on the topic, I thought to try them out. So I created a new Xcode project and played around with them for a while and they seemed to work fine. However, in the process of implementing them into my larger project, I encountered several problems with them that I hope are errors on my part and not Xcode 8 bugs.
After stacking the views and spacing them out, I got this result which was exactly the effect I was trying to achieve:
However, when I run it in the simulator, even at exactly the same size as the storyboard, the views all compress together into one fat blocky mess completely unlike what is displayed on the storyboard:
(ignore the green stuff, just to help me with layout)
//How I stacked the Views
I stacked everything mainly row by row and then stacked the rows together. Then I constrained the master stackview about 10 points to the leading and trailing superviews && 28 pts to the top layout guide and 40 pts to the bottom layout guide.
How to properly stack these damned views so that it looks exactly the same on all devices and screen sizes? Please try and be as specific as you can, including the content mode, etc.