From f4a92d21ff9d752cbf5085e9152ce12cd6efc2d8 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Tue, 7 Jul 2015 18:16:48 -0700 Subject: [PATCH] CB-9327 - Splashscreen not receiving CDVPageLoadNotification --- src/ios/CDVSplashScreen.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVSplashScreen.m b/src/ios/CDVSplashScreen.m index 43b356a..a72ee80 100644 --- a/src/ios/CDVSplashScreen.m +++ b/src/ios/CDVSplashScreen.m @@ -29,7 +29,7 @@ - (void)pluginInitialize { - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(pageDidLoad) name:CDVPageDidLoadNotification object:self.webView]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(pageDidLoad) name:CDVPageDidLoadNotification object:nil]; [self setVisible:YES]; }