Open danielsousast opened 2 years ago
Change this line to
[UIView animateWithDuration:0.2
animations:^{loadingView.alpha = 0.0;}
completion:^(BOOL finished){ [loadingView removeFromSuperview]; }];
+1, this lib fading out works on Android (see
<item name="android:windowExitAnimation">@android:anim/fade_out</item>
in styles.xml) but not on iOS.Fade Prop: https://github.com/zoontek/react-native-bootsplash#hide
Implementation of Fade on iOS: https://github.com/zoontek/react-native-bootsplash/blob/c070e86908a5a1b24d67874852cdd5ce5ddcc15d/ios/RNBootSplash.m#L98
^ could recommend similar feature as this library with 'fade' prop.