Search code examples
iosreact-nativelaunch-screen

React Native launch image


How do I get a RN launch image (for an iOS app) to show up in the XCode simulator? I have Launch Image Sources set to LaunchImages, Launch Screen File set to LaunchScreen and have the files (e.g. Default-Portrait-736h@3x.png) in the Images.xcassets/LaunchImage.launchimage directory, but am not seeing the launch image showing up when I load. It still has the white screen "Powered by React Native" instead.


Solution

  • You need to set the app to use your launch image and not the .xib launch screen file the React Native template application use by default:

    enter image description here