Recently the Xcode upgrade to 7, and then is a variety of egg pain problems, there is a screen adaptation of the problem, because my project is older, so, has not been much attention to screen adaptation, are iOS automatic adaptation, which before iOS8 no problem, but after iOS9, this problem appears , after starting the program, there is a black screen on the bottom, found some information, to understand:
Starting with the Xcode6 GM version, the simulator adds the IPhone6 and IPhone6 plus two, and if the old project runs directly into these two simulators, the default is "Compatibility Mode", that is, the system will simply enlarge the content, the display effect is somewhat vague but acceptable. The device resolution and IPhone5 acquired within the app are the same: 320*568 point.
The above method, only before iOS8, if it is iOS9, it needs to add a picture [email protected] so that the automatic compatibility mode can be guaranteed.
Reference: Http://www.tuicool.com/articles/AzYNZf
IOS-screen fit-automatic adaptation