Skip to content

Commit 7b7f130

Browse files
问题修复
1 parent ecade60 commit 7b7f130

5 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.DS_Store‎

0 Bytes
Binary file not shown.

‎WKJavaScriptBridge-demo/WKJavaScriptBridge-demo/WKJavaScriptBridge/WKWebViewEngine.m‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#import "WKWebViewDelegate.h"
1111
#import "WKCommandImpl.h"
1212

13-
@interface WKWebViewEngine ()
13+
@interface WKWebViewEngine ()<WKScriptMessageHandler, WKJavaScriptBridgeProtocol>
1414

1515
@property (nonatomic, strong) WKWebViewDelegate *WKWebViewDelegate;
1616
@property (nonatomic, strong) WKWebPluginAnnotation *webPluginAnnotation;

‎WKJavaScriptBridge.podspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Pod::Spec.new do |spec|
44

55

66
spec.name = "WKJavaScriptBridge"
7-
spec.version = "0.1.0"
7+
spec.version = "0.1.2"
88
spec.summary = "基于WKWebView构建的Hybrid框架,支持iOS8+。"
99
spec.homepage = "https://github.com/GitWangKai/WKJavaScriptBridge"
1010
spec.license = { :type => "Apache License 2.0", :file => "LICENSE" }

‎WKJavaScriptBridge/WKWebViewEngine.m‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#import "WKWebViewDelegate.h"
1111
#import "WKCommandImpl.h"
1212

13-
@interface WKWebViewEngine ()
13+
@interface WKWebViewEngine ()<WKScriptMessageHandler, WKJavaScriptBridgeProtocol>
1414

1515
@property (nonatomic, strong) WKWebViewDelegate *WKWebViewDelegate;
1616
@property (nonatomic, strong) WKWebPluginAnnotation *webPluginAnnotation;

0 commit comments

Comments
 (0)