So I am trying to create a soundboard app with two columns where the buttons automatically adjust to fit the device screen. I have used auto-layout and some of the constraints to create a set of metrics that should work perfectly. When previewed in the Storyboard(Preview) file, it appears as I wish (see image below):
However when running the actual app on a device or on the simulator, the constraints are not respected and the soundboard displays like this:
(please ignore the rounded edges - these are set programmatically).
I receive no output from the console giving me conflict errors for the constraints so have been scratching my head but still no solution.