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?
I suppose you are not using storyboard for launch screen.
There are two options to fix this.