Skip to content

Commit

Permalink
fix bug #24
Browse files Browse the repository at this point in the history
  • Loading branch information
duwen committed Jan 23, 2018
1 parent 9a01d99 commit 434388c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Binary file modified Build/Products/Debug-iphonesimulator/libdsbridge.a
Binary file not shown.
6 changes: 4 additions & 2 deletions dsBridge.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "dsBridge"
s.version = "2.0.4"
s.version = "2.0.5"
s.summary = "An ios bridge for calling functions synchronously and asynchronously between JavaScript and Object-C in WKWebView/UIWebView"

# This description is used to generate tags and improve search results.
Expand Down Expand Up @@ -117,7 +117,7 @@ Pod::Spec.new do |s|
# the lib prefix of their name.
#

s.framework = "UIKit","JavaScriptCore"
s.frameworks = "UIKit","JavaScriptCore"
# s.frameworks = "SomeFramework", "AnotherFramework"

# s.library = "iconv"
Expand All @@ -136,3 +136,5 @@ Pod::Spec.new do |s|
# s.dependency "JSONKit", "~> 1.4"

end


2 changes: 1 addition & 1 deletion dsbridge/DWebview.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN

- (void)loadUrl: (NSString *) url;
- (void)loadRequest:(NSURLRequest * )request;
- (void)loadHTMLString:(NSString *)string baseURL:(NSURL *)baseURL;
- (void)loadHTMLString:(NSString *)string baseURL:(nullable NSURL *)baseURL;
- (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName baseURL:(NSURL *)baseURL;

- (void)stopLoading;
Expand Down

0 comments on commit 434388c

Please sign in to comment.