diff --git a/src/ios/CDVSplashScreen.m b/src/ios/CDVSplashScreen.m index 4b4d466..f65a501 100644 --- a/src/ios/CDVSplashScreen.m +++ b/src/ios/CDVSplashScreen.m @@ -292,13 +292,15 @@ duration:fadeDuration options:UIViewAnimationOptionTransitionNone animations:^(void) { - [_imageView setAlpha:0]; - [_activityView setAlpha:0]; - } - + [_imageView setAlpha:0]; + [_activityView setAlpha:0]; + } completion:^(BOOL finished) { - [self destroyViews]; - }]; + if (finished) { + [self destroyViews]; + } + } + ]; } }