A black edge appears on the screen after you put the picture in the Launchimage in Xcode

Source: Internet
Author: User

Encounter a very wonderful phenomenon, in the launchimage as long as a picture and then run up, on the iPhone5 screen on the top and bottom of the black edge, can only show the size of 4-inch screen, how can not solve. After a few days to try to solve this problem, inadvertently found the problem, I only put a picture of 640*1136 in it, this time the run will be saved, indicating that I put the picture is 640*1135. Change the size of the picture, everything is done. There is no longer a black-edged case. That's the only thing that's bad about this pixel.

I have always felt that Xcode has no detection function for this image size, it is not smart. Feel how to put the picture will not error, put full on the line, remember I have tried before, arbitrarily into the size of the image does not match the error. Originally put a single picture or can detect whether the size of the match, but full or put a number of pictures on the detection, will not be in operation when the error.

Related Article

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.