You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a javascript bridge for the given UIWebView.
77
+
Create a javascript bridge for the given web view.
79
78
80
79
The `WVJBResponseCallback` will not be `nil` if the javascript expects a response.
81
80
82
-
Optionally, pass in `webViewDelegate:(UIWebViewDelegate*)webViewDelegate` if you need to respond to the [UIWebView's lifecycle events](http://developer.apple.com/library/ios/documentation/uikit/reference/UIWebViewDelegate_Protocol/Reference/Reference.html).
81
+
Optionally, pass in `webViewDelegate:(UIWebViewDelegate*)webViewDelegate` if you need to respond to the [web view's lifecycle events](http://developer.apple.com/library/ios/documentation/uikit/reference/UIWebViewDelegate_Protocol/Reference/Reference.html).
83
82
84
83
Example:
85
84
@@ -186,7 +185,7 @@ Example:
186
185
iOS4 support (with JSONKit)
187
186
---------------------------
188
187
189
-
*Note*: iOS4 support has not yet been tested in v2.
188
+
*Note*: iOS4 support has not yet been tested in v2+.
190
189
191
190
WebViewJavascriptBridge uses `NSJSONSerialization` by default. If you need iOS 4 support then you can use [JSONKit](https://github.com/johnezang/JSONKit/), and add `USE_JSONKIT` to the preprocessor macros for your project.
0 commit comments