question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LaunchImage is not hiding in iOS

See original GitHub issue

Hello,

On the android platform splash screen is working fine. But on the iOS platform, splash screen is not hiding. Please guide.

export default class Main extends Component {
  componentDidMount() {
    SplashScreen.hide();
  }
  render() {
    return (
      <View>
      </View>
    );
  }
}

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:11
  • Comments:30 (2 by maintainers)

github_iconTop GitHub Comments

40reactions
danieljvdmcommented, Sep 29, 2017

The problem I was having was that I was calling [SplashScreen show]; too early in my AppDelegate. Make sure it’s after the call to [self.window makeKeyAndVisible];

11reactions
6axter82commented, Nov 30, 2017

@ralcon I have deleted the ios directory in my project with rm -rf ios, than react-native eject, after react-native link.

This helped me and now everything is fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Launch Image not showing up in iOS application (using ...
I noticed under the project settings that there is a section called App Icons and Launch Images . I see how the .xib...
Read more >
StoryBoard Launch Screen not appearing - Apple Developer
storyboard (images, labels) the splash screen of my app remains black on my iPhone; On the simulator the splash screen appears fine! I...
Read more >
Splash Screen - Apache Cordova
There is no official support for providing a native-resolution launch image for the iPad Pro 12.9 or for providing launch images that work...
Read more >
Black Screen Between Launch Screen and Game on iOS
I have an iOS app that has a launch image with a purple background. ... In SDL, disable the automatic hiding of the...
Read more >
Unable to make launch screen image full screen even with ...
If the launch image is from the asset catalog then iOS will automatically pick the right image. The final storyboard XML should look...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found