The upper and lower black edges of the simulator or phone's real screen

Source: Internet
Author: User

Recently, when I was doing a project, I ran into a pit problem.

We create a project to look at


When you are constrained or unconstrained, the top and bottom are 00 coordinates, no matter 4, 5, 6, 6+ are all right.

There's a problem with the project is this


There's a black side up and down, so let's see where the problem is.

We have no problem with the project open


There is a problem with the following


All right, let's start looking for something different.

Compare to know launch screen file here, no problem of the project this file is Launchscreen this folder, and the problem is not something, we put this folder, and then run the project found OK no problem,

You may say, I have not deleted this place ah, how could not have, but actually is like this

When writing the project, accidentally deleted launchscreen this folder, and then put this folder, Pilst file here is not good to join, so also need to manually add

There is another possibility that


is the use as Launch screen selected?


Links: http://www.jianshu.com/p/12097518c52d

The upper and lower black edges of the simulator or phone's real 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.