iPhone X中的导航栏问题? [英] Navigation Bar issue in iPhone X?
本文介绍了iPhone X中的导航栏问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在iPhone X中运行项目时,导航栏上方出现黑色空间,如图所示,而颜色却没有相同.
When I am running the project in iPhone X is getting black space above navigation bar as shown, not getting the color as same.
如何解决这个问题?
推荐答案
我想您没有在启动屏幕上使用情节提要.
I suppose you are not using storyboard for launch screen.
有两种方法可以解决此问题.
There are two options to fix this.
- 使用情节提要作为LaunchScreen.
- 如果您将启动图像源用于启动屏幕,请为iPhoneX添加启动屏幕图像.
这篇关于iPhone X中的导航栏问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文