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:
const getData = () => { // some functionality } const that = this; setTimeout(() => { // write your functions that.getData() },6000);
Simple, Settimout function get triggered after 6000 milliseonds