Skip to content

Commit

Permalink
fix #24
Browse files Browse the repository at this point in the history
  • Loading branch information
duwen committed Feb 2, 2018
1 parent 434388c commit 482399b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DSBridge-Android:https://github.com/wendux/DSBridge-Android
## Download

```objective-c
pod "dsBridge"
pod "dsBridge","2.0.6"
```

## Usage
Expand Down Expand Up @@ -51,9 +51,9 @@ pod "dsBridge"

```javascript
//cdn
//<script src="https://unpkg.com/dsbridge/dist/dsbridge.js"> </script>
//<script src="https://unpkg.com/dsbridge@2.0.0/dist/dsbridge.js"> </script>
//npm
//npm install dsbridge
//npm install dsbridge@2.0.0
var dsBridge=require("dsbridge")
```

Expand Down
2 changes: 1 addition & 1 deletion 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.5"
s.version = "2.0.6"
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
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:(nullable NSURL *)baseURL;
- (void)loadHTMLString:(NSString *)string baseURL:(NSURL * _Nullable)baseURL;
- (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName baseURL:(NSURL *)baseURL;

- (void)stopLoading;
Expand Down

0 comments on commit 482399b

Please sign in to comment.