React-native-splash-screen: Display time

Created on 17 Jan 2018  路  2Comments  路  Source: crazycodeboy/react-native-splash-screen

Is it possible to increase display time of splash screen? Especially on ios.

Most helpful comment

I just did this in my JS code:

componentDidMount() {
  setTimeout(() => SplashScreen.hide(), 1000);
}

That will wait 1 second before the hide function is called after the screen has mounted (giving it some additional time to finish rendering).

All 2 comments

@tolgaduzenli did you find any solution?

I just did this in my JS code:

componentDidMount() {
  setTimeout(() => SplashScreen.hide(), 1000);
}

That will wait 1 second before the hide function is called after the screen has mounted (giving it some additional time to finish rendering).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

erdemildiz picture erdemildiz  路  5Comments

zhaogao picture zhaogao  路  4Comments

TsuryKnox picture TsuryKnox  路  5Comments

luqingxuan picture luqingxuan  路  3Comments

ijry picture ijry  路  5Comments