简体   繁体   中英

How to remove black area above my app after Xcode 11?

My app was working fine until iOS 13 I faced new issues in the UI top portion.

First the screens became as Cards and I changed the ViewController Presentation to Full Screen and my segues Kind to Present Modally and Presentation to Full Screen

However I am still having blank black area above my app's screen.

App Screen in Simulator:

在此处输入图片说明

App Screen in Simulator:

在此处输入图片说明

App Screen in Storyboard:

在此处输入图片说明

I have figured out this issues on Xcode 11 . Please flow this below steps:

  1. If you are using launch screen and launch screen not added on your project, then add new LaunchScreen.storyboard file. Add a launch screen LaunchScreen.storyboard file to your project. (File -> New -> File... -> Launch Screen)

在此处输入图片说明

  1. Now choose your project name in Xcode. -> Select your project target -> General -> App Icons and Launch Images -> Launch Screen File: LaunchScreen.storyboard

在此处输入图片说明

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