iOS Launch screen in React Native

后端 未结 13 926
时光取名叫无心
时光取名叫无心 2020-12-04 05:44

I\'m working with a React Native app and I\'m trying to set a customize launch screen but I\'m not able to.

React Native creates a LaunchScreen.xib by default, so I\

13条回答
  •  Happy的楠姐
    2020-12-04 06:27

    Just went through this and works a treat. The only road block I discovered was not clearing the simulator content. If you find that your new launch screen isn't working you need to open the simulation and go to the following:

    Simulator > Reset content and settings

    There must be some hardcore caching going on within that simulator but once that was done - rerun and you'll see the app. Make sure you do this for both xcode simulators and react-native simulators!

提交回复
热议问题