CB-9327 - Splashscreen not receiving CDVPageLoadNotification

This commit is contained in:
Shazron Abdullah 2015-07-07 18:16:48 -07:00
parent 0916db61b4
commit f4a92d21ff

View File

@ -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];
}