From 148c66da4f5cfb0314d8e0126a88955ce949595a Mon Sep 17 00:00:00 2001 From: pcjbird Date: Tue, 16 Jan 2018 15:57:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9QuickWebSpotlightPlugin?= =?UTF-8?q?=E5=AF=BC=E8=87=B4crash=E7=9A=84BUG=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QuickWebKit.podspec | 2 +- QuickWebKit/QuickWebKit.h | 3 +++ .../QuickWebSpotlightPlugin/QuickWebSpotlightPlugin.m | 2 +- QuickWebKit/Supporting Files/Info.plist | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/QuickWebKit.podspec b/QuickWebKit.podspec index 0ed9fb2..77f954e 100644 --- a/QuickWebKit.podspec +++ b/QuickWebKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "QuickWebKit" - s.version = "1.1.3" + s.version = "1.1.4" s.summary = "A great & strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器,您可以基于它设计您的浏览器插件,然后像积木一样来组装它们。" s.description = <<-DESC A great & strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器,您可以基于它设计您的浏览器插件,然后像积木一样来组装它们。 diff --git a/QuickWebKit/QuickWebKit.h b/QuickWebKit/QuickWebKit.h index 0d75bfd..5b9e6be 100644 --- a/QuickWebKit/QuickWebKit.h +++ b/QuickWebKit/QuickWebKit.h @@ -8,6 +8,9 @@ // 框架名称:QuickWebKit // 框架功能:A great & strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器,您可以基于它设计您的浏览器插件,然后像积木一样来组装它们。 // 修改记录: +// pcjbird 2018-01-16 Version:1.1.4 Build:201801160002 +// 1.修改QuickWebSpotlightPlugin导致crash的BUG。 +// // pcjbird 2018-01-16 Version:1.1.3 Build:201801160001 // 1.修改toast样式为共享样式。 // diff --git a/QuickWebKit/QuickWebPlugins/QuickWebSpotlightPlugin/QuickWebSpotlightPlugin.m b/QuickWebKit/QuickWebPlugins/QuickWebSpotlightPlugin/QuickWebSpotlightPlugin.m index 2de5011..ab69f9e 100644 --- a/QuickWebKit/QuickWebPlugins/QuickWebSpotlightPlugin/QuickWebSpotlightPlugin.m +++ b/QuickWebKit/QuickWebPlugins/QuickWebSpotlightPlugin/QuickWebSpotlightPlugin.m @@ -148,7 +148,7 @@ - (void)createSpotlightWithInfo:(EasyShareInfo *)shareInfo { [keywords addObjectsFromArray:webKeywords]; } - [keywords addObject:set.title]; + if(![QuickWebStringUtil isStringBlank:set.title])[keywords addObject:set.title]; set.keywords = keywords; if(![QuickWebStringUtil isStringBlank:shareInfo.image]) { diff --git a/QuickWebKit/Supporting Files/Info.plist b/QuickWebKit/Supporting Files/Info.plist index b2320d2..faa2031 100644 --- a/QuickWebKit/Supporting Files/Info.plist +++ b/QuickWebKit/Supporting Files/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.1.3 + 1.1.4 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass