Xcode6 ios7.1 cannot be displayed in full screen

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.