Navigation Bar issue in iPhone X? [duplicate]

房东的猫 提交于 2019-12-01 08:43:52

问题


When I am running the project in iPhone X is getting black space above navigation bar as shown, not getting the color as same.

How to solve this?


回答1:


I suppose you are not using storyboard for launch screen.

There are two options to fix this.

  1. Use storyboard as LaunchScreen.
  2. If you are using Launch Image Source for launch screen add launch screen image for iPhoneX.



来源:https://stackoverflow.com/questions/46909424/navigation-bar-issue-in-iphone-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!