If you just want to fill your launch screen with an image in each screen size, you can use the restrictions for the top, top, top and bottom levels between your UIImageView and the UIImageView . So:
Step 1 Add a UIImageView to your LaunchScreen.xib and set any image that it should display.
Step 2 Select the recently added UIImageView and click the "Pin" icon in the lower right corner of Interface Builder.
Step 3 Select all 4 og edges to set the constants to 0. This ensures that your UIImageView has 0 points of space for the supervisor on each edge.
It looks like this: 
However, you should consider if this is the way to go. The idea of ββhaving a .xib file as a launch screen is really intended to replace the need to show full-screen launch images. Instead, consider adding the elements that your startup image contains in the interface builder instead. Also remember that you (unfortunately) cannot link any code along with your launch .xib file.
source share