When your project runs on the iphone x Simulator, does the following happen: Cannot full screen,, up and down appeared the Big Black Edge, by the previous in set up the Start page, the start page removed the appearance of the upper and lower black box, and then thought that as long as the iphone x set a corresponding launch page, it will achieve full-screen display.
The implementation method is as follows, first open the Launchimage (I start the page using the Launchimage) put iOS8.0 and later hook
Make a splash image 1125 x 2436 pixels, and then drag it into the dashed box in the iphone x.
Remove the original app from the emulator or the real machine and rerun it. The effect is as follows
Full screen problem has been resolved, because my apptabbar is customized, view on the Add button, location is a little messy, these location and size problems can only one out of the code to fit, you can judge the screen size of the method to differentiate the iphone X
Size = (width = 375, height = 812)