The app created in Xcode6 can't display full screen in ios7.1 's iphone5 device and iphone simulator, and the value obtained with [UIScreen mainscreen].bounds.size.height is 480!
Answers found from StackOverflow:
Original Address Http://stackoverflow.com/questions/25817562/black-bars-appear-in-app-when-targeting-ios7-1-or-7-0-in-xcode6
The original is Xcode a bug (but the delay did not chant repair, I think the apple want to let everyone upgrade to iOS8 reason for it), only modify the Launchimages line, step:
1. Targets---YourApp--general-->app icons and launch images--launch images Source;
2. Click on the Use Asset catalog, will pop up Migrate launch images to an Asset catalog prompt, select the default images option, point Migrate.
Finish the above steps, when when, Run, everything OK, anyway mine is so solved.
---------------Update-------------
Solved the problem of ios7.1, the attendant problem: the IPhone6 and plus screens have always been iphone5 screen height.
The reason is that there is no corresponding launch Image, you need to create a new launchimage set and then add it.
Xcode6 ios7.1 cannot be displayed in full screen