From ced0d2bd80a19c61ecfe612e3fec967250c202eb Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 1 Apr 2011 00:13:01 +0000 Subject: [PATCH] Pass through addMessageToConsole:. --- LockScreen.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LockScreen.mm b/LockScreen.mm index 5fccd84..3644ce1 100644 --- a/LockScreen.mm +++ b/LockScreen.mm @@ -262,6 +262,9 @@ MSInstanceMessageHook0(BOOL, NSURL, isSpringboardHandledURL) { - (void) webView:(WebView *)view addMessageToConsole:(NSDictionary *)message { NSLog(@"addMessageToConsole:%@", message); + + if ([UIWebView instancesRespondToSelector:@selector(webView:addMessageToConsole:)]) + [super webView:view addMessageToConsole:message]; } @end -- 2.45.2