简体   繁体   中英

iPhone adding black space on the top of status bar

Not sure how to explain this, Have added some images below. Not sure what I have changed but it seems my app has now got black bar above and below the app. Before the status bar was sitting on the top of the device. I have tried playing around with the auto layout but didnt seems to help at all. can some one please help.

旧屏幕

新的屏幕

You need to support the iPhone 5 screen size (4 inches).

Add a launch image with the appropriate size (look in your image assets folder) and your app will then adapt to this device's screen.

Note that you should also support the new iPhone 6 and 6 Plus screens sizes and add the appropriate launch images.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM