diff --git a/QuickWebKit.podspec b/QuickWebKit.podspec
index 2a26b97..d5a4662 100644
--- a/QuickWebKit.podspec
+++ b/QuickWebKit.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "QuickWebKit"
- s.version = "1.1.0"
+ s.version = "1.1.1"
s.summary = "A great & strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器,您可以基于它设计您的浏览器插件,然后像积木一样来组装它们。"
s.description = <<-DESC
A great & strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器,您可以基于它设计您的浏览器插件,然后像积木一样来组装它们。
diff --git a/QuickWebKit/QuickWebCore/QuickWebViewController.m b/QuickWebKit/QuickWebCore/QuickWebViewController.m
index db7cd4a..5c5daa5 100644
--- a/QuickWebKit/QuickWebCore/QuickWebViewController.m
+++ b/QuickWebKit/QuickWebCore/QuickWebViewController.m
@@ -246,6 +246,8 @@ - (void)viewDidLoad {
if(![QuickWebStringUtil isStringBlank:_initUrl])[self loadPage:_initUrl];
[self updateLeftBarButtonItems];
+
+ [self registerNotificationObserver];
}
-(void) registerNotificationObserver
diff --git a/QuickWebKit/QuickWebKit.h b/QuickWebKit/QuickWebKit.h
index 4973965..9b9a5c7 100644
--- a/QuickWebKit/QuickWebKit.h
+++ b/QuickWebKit/QuickWebKit.h
@@ -8,6 +8,9 @@
// 框架名称:QuickWebKit
// 框架功能:A great & strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器,您可以基于它设计您的浏览器插件,然后像积木一样来组装它们。
// 修改记录:
+// pcjbird 2018-01-10 Version:1.1.1 Build:201801100001
+// 1.修复QuickWebSharePlugin无法显示导航栏右侧分享按钮的BUG。
+//
// pcjbird 2018-01-09 Version:1.1.0 Build:201801090004
// 1.修复QuickWebQRCodePlugin链接检测到却无法打开的BUG。
//
diff --git a/QuickWebKit/QuickWebPlugins/QuickWebSharePlugin/QuickWebSharePlugin.m b/QuickWebKit/QuickWebPlugins/QuickWebSharePlugin/QuickWebSharePlugin.m
index 8ab5760..5f28629 100644
--- a/QuickWebKit/QuickWebPlugins/QuickWebSharePlugin/QuickWebSharePlugin.m
+++ b/QuickWebKit/QuickWebPlugins/QuickWebSharePlugin/QuickWebSharePlugin.m
@@ -53,7 +53,7 @@ -(void)webViewControllerDidStartLoad:(QuickWebViewController *)webViewController
self.autoDetectedShareInfo = nil;
dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:QUICKWEBPLUGINREQUESTUPDATEUINOTIFICATION object:nil];
+ [[NSNotificationCenter defaultCenter] postNotificationName:QUICKWEBPLUGINREQUESTUPDATEUINOTIFICATION object:webViewController.webView.secretId];
});
}
@@ -115,14 +115,14 @@ -(void)webViewControllerDidFinishLoad:(QuickWebViewController *)webViewControlle
{
weakSelf.autoDetectedShareInfo.image = result;
}
- [[NSNotificationCenter defaultCenter] postNotificationName:QUICKWEBPLUGINREQUESTUPDATEUINOTIFICATION object:nil];
+ [[NSNotificationCenter defaultCenter] postNotificationName:QUICKWEBPLUGINREQUESTUPDATEUINOTIFICATION object:webViewController.webView.secretId];
}];
});
}
else
{
dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:QUICKWEBPLUGINREQUESTUPDATEUINOTIFICATION object:nil];
+ [[NSNotificationCenter defaultCenter] postNotificationName:QUICKWEBPLUGINREQUESTUPDATEUINOTIFICATION object:webViewController.webView.secretId];
});
}
}];
diff --git a/QuickWebKit/Supporting Files/Info.plist b/QuickWebKit/Supporting Files/Info.plist
index a5ae6f9..6db6fe4 100644
--- a/QuickWebKit/Supporting Files/Info.plist
+++ b/QuickWebKit/Supporting Files/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.1.0
+ 1.1.1
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
NSPrincipalClass