Recently began to self-study iOS, previously looked for information is relatively old, see the information inside the painting interface is painted in. xlb file, and I draw out to run out is the following, which is not the same as the said. So I Baidu to know Xcode6.1 version of the normal interface display should be written in the Main.storyboard, and I put the interface written in the launchscreen.xlb inside, so the interface is just a flash.
After re-painting the interface, did not make any settings, this time the interface resolution and simulator is not quite the same, the interface a bit of deviation, see Baidu said to remove the two √, then removed, with the IPhone6 simulator is a bit biased, replaced by the IPhone5S simulator display interface normal.
So the resolution problem is not actually solved, I want to achieve the purpose is adaptive resolution. So the above two √ hook back again. Then we can realize an absolute layout by changing the boundary spacing. I then select the button I drew to increase the spacing constraint around the boundary.
And then out of the effect is this:
Although the self-adaptation, but the painting wind is not the same AH. Think about, the upper and lower bounds of the constraint is deleted, leaving only left and right boundary constraints:
So the effect is much better than just now.
Alas, the blind toss for 2 hours.
New iOS project, run-time flash, does not show the picture of the interface, as well as the resolution of adaptive problems