I\'m trying to load a splash screen for an iOS app built in React Native. I\'m trying to accomplish this through class states and then a setTimeout function as follows:
Simple setTimeout(()=>{this.setState({loaded: true})}, 1000); use this for timeout.
setTimeout(()=>{this.setState({loaded: true})}, 1000);