According to my application developed on a storyboard with a size class enabled and using the leading space and the final viewing space (Set to -16.0f).
Then I launch it on the iPad or iPhone 6 Plus. It has a small gap on both sides of the screen. But no gap on the iPhone 5 or iPhone 4.
I know that this can be done by adding a restriction for compact width or using code. but is there anyway set up for the storyboard?Because I do not want to subclass these views just to stretch the control.
Here is an example when I run it.
Work on the iPad http://s15.postimg.org/raum4qv6j/i_OS_Simulator_Screen_Shot_1_Nov_2557_9_49_38_AM.png
Work on iPhone http://s15.postimg.org/ly16cvhwb/i_OS_Simulator_Screen_Shot_1_Nov_2557_9_59_36_AM.png
** I am using Xcode 6.1
Thanks in advance.
Instead of setting the limits for the top and trailing spaces set on the white bar, you have a limit on equal width with its supervisor. (Drag from the panel to the supervisor in the storyboard and select "Equal Widths" in the popup).